@Environment(value=CLIENT) public class FlyingItemEntityRenderer<T extends Entity & FlyingItemEntity> extends EntityRenderer<T>
| Modifier and Type | Field and Description |
|---|---|
private ItemRenderer |
itemRenderer |
private boolean |
lit |
private float |
scale |
dispatcher, shadowOpacity, shadowRadius| Constructor and Description |
|---|
FlyingItemEntityRenderer(class_5617.class_5618 class_5618) |
FlyingItemEntityRenderer(class_5617.class_5618 class_5618,
float float2,
boolean bool) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBlockLight(T t,
BlockPos blockPos) |
Identifier |
getTexture(Entity entity) |
void |
render(T entity,
float yaw,
float tickDelta,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light) |
getFontRenderer, getLight, getPositionOffset, hasLabel, method_27950, renderLabelIfPresent, shouldRenderprivate final ItemRenderer itemRenderer
private final float scale
private final boolean lit
public FlyingItemEntityRenderer(class_5617.class_5618 class_5618, float float2, boolean bool)
public FlyingItemEntityRenderer(class_5617.class_5618 class_5618)
protected int getBlockLight(T t, BlockPos blockPos)
getBlockLight in class EntityRenderer<T extends Entity & FlyingItemEntity>public void render(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
render in class EntityRenderer<T extends Entity & FlyingItemEntity>public Identifier getTexture(Entity entity)
getTexture in class EntityRenderer<T extends Entity & FlyingItemEntity>