@Environment(value=CLIENT) public class BuiltinModelItemRenderer extends Object
Modifier and Type | Field and Description |
---|---|
static BuiltinModelItemRenderer |
INSTANCE |
private ShieldEntityModel |
modelShield |
private TridentEntityModel |
modelTrident |
private static ShulkerBoxBlockEntity |
RENDER_SHULKER_BOX |
private static ShulkerBoxBlockEntity[] |
RENDER_SHULKER_BOX_DYED |
private BannerBlockEntity |
renderBanner |
private BedBlockEntity |
renderBed |
private EnderChestBlockEntity |
renderChestEnder |
private ChestBlockEntity |
renderChestNormal |
private ChestBlockEntity |
renderChestTrapped |
private ConduitBlockEntity |
renderConduit |
Constructor and Description |
---|
BuiltinModelItemRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(ItemStack stack,
ModelTransformation.Mode mode,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
int overlay) |
private static final ShulkerBoxBlockEntity[] RENDER_SHULKER_BOX_DYED
private static final ShulkerBoxBlockEntity RENDER_SHULKER_BOX
public static final BuiltinModelItemRenderer INSTANCE
private final ChestBlockEntity renderChestNormal
private final ChestBlockEntity renderChestTrapped
private final EnderChestBlockEntity renderChestEnder
private final BannerBlockEntity renderBanner
private final BedBlockEntity renderBed
private final ConduitBlockEntity renderConduit
private final ShieldEntityModel modelShield
private final TridentEntityModel modelTrident
public void render(ItemStack stack, ModelTransformation.Mode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)