net.minecraft.client.renderer.entity

public class ItemRenderer

implements ResourceManagerReloadListener

gso
net.minecraft.client.renderer.entity.ItemRenderer
net.minecraft.class_918
net.minecraft.client.render.item.ItemRenderer

Field summary

Modifier and TypeField
public static final ResourceLocation
a
ENCHANTED_GLINT_ENTITY
field_43086
ENTITY_ENCHANTMENT_GLINT
public static final ResourceLocation
b
ENCHANTED_GLINT_ITEM
field_43087
ITEM_ENCHANTMENT_GLINT
public static final int
c
GUI_SLOT_CENTER_X
field_32937
field_32937
public static final int
d
GUI_SLOT_CENTER_Y
field_32938
field_32938
public static final int
e
ITEM_DECORATION_BLIT_OFFSET
field_32934
field_32934
public static final float
f
COMPASS_FOIL_UI_SCALE
field_32935
COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER
public static final float
g
COMPASS_FOIL_FIRST_PERSON_SCALE
field_32936
COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER
public static final float
h
COMPASS_FOIL_TEXTURE_SCALE
field_41120
field_41120
public static final ModelResourceLocation
i
TRIDENT_MODEL
field_40532
TRIDENT
public static final ModelResourceLocation
j
SPYGLASS_MODEL
field_40533
SPYGLASS
private final ModelManager
k
modelManager
field_54176
bakedModelManager
private final ItemModelShaper
l
itemModelShaper
field_4732
models
private final ItemColors
m
itemColors
field_4733
colors
private final BlockEntityWithoutLevelRenderer
n
blockEntityRenderer
field_27770
builtinModelItemRenderer

Constructor summary

ModifierConstructor
public (ModelManager bakedModelManager, ItemColors colors, BlockEntityWithoutLevelRenderer builtinModelItemRenderer)

Method summary

Modifier and TypeMethod
private void
a(hdn arg0, cxp arg1, int arg2, int arg3, fgs arg4, fgw arg5)
renderModelLists(BakedModel arg0, ItemStack arg1, int arg2, int arg3, PoseStack arg4, VertexConsumer arg5)
method_23182(class_1087 arg0, class_1799 arg1, int arg2, int arg3, class_4587 arg4, class_4588 arg5)
renderBakedItemModel(BakedModel model, ItemStack stack, int light, int overlay, MatrixStack matrices, VertexConsumer vertices)
public void
a(cxp arg0, cxn arg1, boolean arg2, fgs arg3, gll arg4, int arg5, int arg6, hdn arg7)
render(ItemStack arg0, ItemDisplayContext arg1, boolean arg2, PoseStack arg3, MultiBufferSource arg4, int arg5, int arg6, BakedModel arg7)
method_23179(class_1799 arg0, class_811 arg1, boolean arg2, class_4587 arg3, class_4597 arg4, int arg5, int arg6, class_1087 arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model)
public void
a(cxp arg0, cxn arg1, boolean arg2, fgs arg3, gll arg4, int arg5, int arg6, hdn arg7, dhi arg8, bwg arg9, int arg10)
renderBundleItem(ItemStack arg0, ItemDisplayContext arg1, boolean arg2, PoseStack arg3, MultiBufferSource arg4, int arg5, int arg6, BakedModel arg7, Level arg8, LivingEntity arg9, int arg10)
method_62477(class_1799 arg0, class_811 arg1, boolean arg2, class_4587 arg3, class_4597 arg4, int arg5, int arg6, class_1087 arg7, class_1937 arg8, class_1309 arg9, int arg10)
renderBundle(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, World world, LivingEntity entity, int seed)
private void
a(cxp arg0, cxn arg1, boolean arg2, fgs arg3, gll arg4, int arg5, int arg6, hdn arg7, boolean arg8)
renderSimpleItemModel(ItemStack arg0, ItemDisplayContext arg1, boolean arg2, PoseStack arg3, MultiBufferSource arg4, int arg5, int arg6, BakedModel arg7, boolean arg8)
method_64073(class_1799 arg0, class_811 arg1, boolean arg2, class_4587 arg3, class_4597 arg4, int arg5, int arg6, class_1087 arg7, boolean arg8)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, boolean useInventoryModel)
private void
a(cxp arg0, cxn arg1, boolean arg2, fgs arg3, gll arg4, int arg5, int arg6, hdn arg7, boolean arg8, float arg9)
renderItemModelRaw(ItemStack arg0, ItemDisplayContext arg1, boolean arg2, PoseStack arg3, MultiBufferSource arg4, int arg5, int arg6, BakedModel arg7, boolean arg8, float arg9)
method_64074(class_1799 arg0, class_811 arg1, boolean arg2, class_4587 arg3, class_4597 arg4, int arg5, int arg6, class_1087 arg7, boolean arg8, float arg9)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, boolean useInventoryModel, float z)
private void
a(cxp arg0, cxn arg1, fgs arg2, gll arg3, int arg4, int arg5, hdn arg6, boolean arg7)
renderItem(ItemStack arg0, ItemDisplayContext arg1, PoseStack arg2, MultiBufferSource arg3, int arg4, int arg5, BakedModel arg6, boolean arg7)
method_62476(class_1799 arg0, class_811 arg1, class_4587 arg2, class_4597 arg3, int arg4, int arg5, class_1087 arg6, boolean arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, boolean useInventoryModel)
private static boolean
a(cxn arg0)
shouldRenderItemFlat(ItemDisplayContext arg0)
method_64255(class_811 arg0)
shouldUseInventoryModel(ModelTransformationMode transformationMode)
private static boolean
a(cxp arg0)
hasAnimatedTexture(ItemStack arg0)
method_51795(class_1799 arg0)
usesDynamicDisplay(ItemStack stack)
public static VertexConsumer
a(gll arg0, glv arg1, boolean arg2)
getArmorFoilBuffer(MultiBufferSource arg0, RenderType arg1, boolean arg2)
method_27952(class_4597 arg0, class_1921 arg1, boolean arg2)
getArmorGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean glint)
public static VertexConsumer
a(gll arg0, glv arg1, fgs$a arg2)
getCompassFoilBuffer(MultiBufferSource arg0, RenderType arg1, PoseStack$Pose arg2)
method_30114(class_4597 arg0, class_1921 arg1, class_4587$class_4665 arg2)
getDynamicDisplayGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, MatrixStack$Entry entry)
public static VertexConsumer
a(gll arg0, glv arg1, boolean arg2, boolean arg3)
getFoilBuffer(MultiBufferSource arg0, RenderType arg1, boolean arg2, boolean arg3)
method_23181(class_4597 arg0, class_1921 arg1, boolean arg2, boolean arg3)
getItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint)
private void
a(fgs arg0, fgw arg1, List<gms> arg2, cxp arg3, int arg4, int arg5)
renderQuadList(PoseStack arg0, VertexConsumer arg1, List<BakedQuad> arg2, ItemStack arg3, int arg4, int arg5)
method_23180(class_4587 arg0, class_4588 arg1, List<class_777> arg2, class_1799 arg3, int arg4, int arg5)
renderBakedItemQuads(MatrixStack matrices, VertexConsumer vertices, List<BakedQuad> quads, ItemStack stack, int light, int overlay)
public BakedModel
a(cxp arg0, dhi arg1, bwg arg2, int arg3)
getModel(ItemStack arg0, Level arg1, LivingEntity arg2, int arg3)
method_4019(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
getModel(ItemStack stack, World world, LivingEntity entity, int seed)
public void
a(cxp arg0, cxn arg1, int arg2, int arg3, fgs arg4, gll arg5, dhi arg6, int arg7)
renderStatic(ItemStack arg0, ItemDisplayContext arg1, int arg2, int arg3, PoseStack arg4, MultiBufferSource arg5, Level arg6, int arg7)
method_23178(class_1799 arg0, class_811 arg1, int arg2, int arg3, class_4587 arg4, class_4597 arg5, class_1937 arg6, int arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, int seed)
public void
a(bwg arg0, cxp arg1, cxn arg2, boolean arg3, fgs arg4, gll arg5, dhi arg6, int arg7, int arg8, int arg9)
renderStatic(LivingEntity arg0, ItemStack arg1, ItemDisplayContext arg2, boolean arg3, PoseStack arg4, MultiBufferSource arg5, Level arg6, int arg7, int arg8, int arg9)
method_23177(class_1309 arg0, class_1799 arg1, class_811 arg2, boolean arg3, class_4587 arg4, class_4597 arg5, class_1937 arg6, int arg7, int arg8, int arg9)
renderItem(LivingEntity entity, ItemStack item, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, int light, int overlay, int seed)
public void
a(avv arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)
public BakedModel
a(cxp arg0, bwg arg1, cxn arg2)
resolveItemModel(ItemStack arg0, LivingEntity arg1, ItemDisplayContext arg2)
method_62475(class_1799 arg0, class_1309 arg1, class_811 arg2)
getModel(ItemStack stack, LivingEntity entity, ModelTransformationMode transformationMode)
private BakedModel
a(hdn arg0, cxp arg1, dhi arg2, bwg arg3, int arg4)
resolveModelOverride(BakedModel arg0, ItemStack arg1, Level arg2, LivingEntity arg3, int arg4)
method_64256(class_1087 arg0, class_1799 arg1, class_1937 arg2, class_1309 arg3, int arg4)
getModelOrOverride(BakedModel model, ItemStack stack, World world, LivingEntity entity, int seed)