net.minecraft.client.renderer.entity

public class ItemRenderer

implements ResourceManagerReloadListener

gsn
net.minecraft.client.renderer.entity.ItemRenderer
net.minecraft.class_918
net.minecraft.unmapped.C_xjqetogb
net.minecraft.client.render.item.ItemRenderer
net.minecraft.client.render.item.ItemRenderer
net.minecraft.src.C_4354_

Field summary

Modifier and TypeField
public static final ResourceLocation
a
ENCHANTED_GLINT_ENTITY
field_43086
f_tzvbwrqo
ENTITY_ENCHANTMENT_GLINT
ENTITY_ENCHANTED_GLINT
f_273897_
public static final ResourceLocation
b
ENCHANTED_GLINT_ITEM
field_43087
f_kwmbfert
ITEM_ENCHANTMENT_GLINT
ITEM_ENCHANTED_GLINT
f_273833_
public static final int
c
GUI_SLOT_CENTER_X
field_32937
f_uimgkpsz
field_32937
GUI_SLOT_CENTER_X
f_174221_
public static final int
d
GUI_SLOT_CENTER_Y
field_32938
f_lhkcxhvw
field_32938
GUI_SLOT_CENTER_Y
f_174222_
public static final int
e
ITEM_DECORATION_BLIT_OFFSET
field_32934
f_zbeulqsn
field_32934
f_346291_
public static final float
f
COMPASS_FOIL_UI_SCALE
field_32935
f_curtyzhw
COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER
COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER
f_174219_
public static final float
g
COMPASS_FOIL_FIRST_PERSON_SCALE
field_32936
f_alzznqug
COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER
COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER
f_174220_
public static final float
h
COMPASS_FOIL_TEXTURE_SCALE
field_41120
f_pomzspwm
field_41120
COMPASS_FOIL_TEXTURE_SCALE
f_256734_
public static final ModelResourceLocation
i
TRIDENT_MODEL
field_40532
f_ruqdegyy
TRIDENT
TRIDENT_INVENTORY
f_244324_
public static final ModelResourceLocation
j
SPYGLASS_MODEL
field_40533
f_yibbkkem
SPYGLASS
SPYGLASS_INVENTORY
f_244537_
private final ModelManager
k
modelManager
field_54176
f_amlshwvs
bakedModelManager
f_346835_
private final ItemModelShaper
l
itemModelShaper
field_4732
f_qjkoxdyv
models
models
f_115095_
private final ItemColors
m
itemColors
field_4733
f_ddjgfxsn
colors
colors
f_115097_
private final BlockEntityWithoutLevelRenderer
n
blockEntityRenderer
field_27770
f_rklqdmcn
builtinModelItemRenderer
builtinModelItemRenderer
f_174223_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(hdm arg0, cxo arg1, int arg2, int arg3, fgr arg4, fgv 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)
m_qpesfboj(C_nnhmhkbv arg0, C_sddaxwyk arg1, int arg2, int arg3, C_cnszsxvd arg4, C_igthdzux arg5)
renderBakedItemModel(BakedModel model, ItemStack stack, int light, int overlay, MatrixStack matrices, VertexConsumer vertices)
renderBakedItemModel(BakedModel model, ItemStack stack, int light, int overlay, MatrixStack matrices, VertexConsumer vertices)
m_115189_(C_4528_ p_115191_, C_1391_ p_115192_, int p_115193_, int p_115194_, C_3181_ p_115195_, C_3187_ arg5)
public void
a(cxo arg0, cxm arg1, boolean arg2, fgr arg3, glk arg4, int arg5, int arg6, hdm 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)
m_uhttwfyb(C_sddaxwyk arg0, C_byhguelf arg1, boolean arg2, C_cnszsxvd arg3, C_igrgeffe arg4, int arg5, int arg6, C_nnhmhkbv arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model)
renderItem(ItemStack stack, ModelTransformationMode modelTransformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model)
m_115143_(C_1391_ p_270188_, C_268388_ p_115146_, boolean p_115147_, C_3181_ p_115148_, C_4139_ p_115149_, int p_115150_, int p_115151_, C_4528_ arg7)
public void
a(cxo arg0, cxm arg1, boolean arg2, fgr arg3, glk arg4, int arg5, int arg6, hdm arg7, dhh arg8, bwf 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)
m_owvmzhzr(C_sddaxwyk arg0, C_byhguelf arg1, boolean arg2, C_cnszsxvd arg3, C_igrgeffe arg4, int arg5, int arg6, C_nnhmhkbv arg7, C_cdctfzbn arg8, C_usxaxydn 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)
m_owvmzhzr(ItemStack stack, ModelTransformationMode arg1, boolean arg2, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int arg5, int arg6, BakedModel model, World world, LivingEntity entity, int arg10)
m_354008_(C_1391_ p_364164_, C_268388_ p_366015_, boolean p_363983_, C_3181_ p_366400_, C_4139_ p_364183_, int p_366202_, int p_364448_, C_4528_ p_364558_, C_1596_ p_370019_, C_524_ p_365291_, int arg10)
private void
a(cxo arg0, cxm arg1, boolean arg2, fgr arg3, glk arg4, int arg5, int arg6, hdm 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)
m_ievihbnt(C_sddaxwyk arg0, C_byhguelf arg1, boolean arg2, C_cnszsxvd arg3, C_igrgeffe arg4, int arg5, int arg6, C_nnhmhkbv arg7, boolean arg8)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, boolean useInventoryModel)
m_ievihbnt(ItemStack stack, ModelTransformationMode arg1, boolean arg2, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int arg5, int arg6, BakedModel model, boolean arg8)
m_356315_(C_1391_ p_362112_, C_268388_ p_366241_, boolean p_362829_, C_3181_ p_361571_, C_4139_ p_360705_, int p_366554_, int p_363511_, C_4528_ p_370176_, boolean arg8)
private void
a(cxo arg0, cxm arg1, boolean arg2, fgr arg3, glk arg4, int arg5, int arg6, hdm 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)
m_cpyysiju(C_sddaxwyk arg0, C_byhguelf arg1, boolean arg2, C_cnszsxvd arg3, C_igrgeffe arg4, int arg5, int arg6, C_nnhmhkbv 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)
m_cpyysiju(ItemStack stack, ModelTransformationMode arg1, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int arg5, int arg6, BakedModel model, boolean arg8, float z)
m_354626_(C_1391_ p_369628_, C_268388_ p_365876_, boolean p_366810_, C_3181_ p_363829_, C_4139_ p_363235_, int p_368132_, int p_369691_, C_4528_ p_366607_, boolean p_368655_, float arg9)
private void
a(cxo arg0, cxm arg1, fgr arg2, glk arg3, int arg4, int arg5, hdm 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)
m_fepxzrkv(C_sddaxwyk arg0, C_byhguelf arg1, C_cnszsxvd arg2, C_igrgeffe arg3, int arg4, int arg5, C_nnhmhkbv arg6, boolean arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model, boolean useInventoryModel)
m_fepxzrkv(ItemStack stack, ModelTransformationMode arg1, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int arg4, int arg5, BakedModel model, boolean arg7)
m_355630_(C_1391_ p_362035_, C_268388_ p_370127_, C_3181_ p_365365_, C_4139_ p_363416_, int p_367651_, int p_367824_, C_4528_ p_366488_, boolean arg7)
private static boolean
a(cxm arg0)
shouldRenderItemFlat(ItemDisplayContext arg0)
method_64255(class_811 arg0)
m_yiicibwz(C_byhguelf arg0)
shouldUseInventoryModel(ModelTransformationMode transformationMode)
m_356510_(C_268388_ p_368418_)
private static boolean
a(cxo arg0)
hasAnimatedTexture(ItemStack arg0)
method_51795(class_1799 arg0)
m_ocieizca(C_sddaxwyk arg0)
usesDynamicDisplay(ItemStack stack)
hasAnimatedTexture(ItemStack stack)
m_285827_(C_1391_ p_286353_)
public static VertexConsumer
a(glk arg0, glu arg1, boolean arg2)
getArmorFoilBuffer(MultiBufferSource arg0, RenderType arg1, boolean arg2)
method_27952(class_4597 arg0, class_1921 arg1, boolean arg2)
m_bzrkiozs(C_igrgeffe arg0, C_tizlwnnv arg1, boolean arg2)
getArmorGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean glint)
getArmorGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean solid)
m_115184_(C_4139_ p_115185_, C_4168_ p_115186_, boolean p_115187_)
public static VertexConsumer
a(glk arg0, glu arg1, fgr$a arg2)
getCompassFoilBuffer(MultiBufferSource arg0, RenderType arg1, PoseStack$Pose arg2)
method_30114(class_4597 arg0, class_1921 arg1, class_4587$class_4665 arg2)
m_xjgjlodl(C_igrgeffe arg0, C_tizlwnnv arg1, C_cnszsxvd$C_pqokfevb arg2)
getDynamicDisplayGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, MatrixStack$Entry entry)
getCompassGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, MatrixStack$Entry entry)
m_115180_(C_4139_ p_115181_, C_4168_ p_115182_, C_3181_$C_3183_ p_115183_)
public static VertexConsumer
a(glk arg0, glu 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)
m_eqolelzj(C_igrgeffe arg0, C_tizlwnnv arg1, boolean arg2, boolean arg3)
getItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint)
getItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint)
m_115211_(C_4139_ p_115212_, C_4168_ p_115213_, boolean p_115214_, boolean p_115215_)
private void
a(fgr arg0, fgv arg1, List<gmr> arg2, cxo 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)
m_crhzuksp(C_cnszsxvd arg0, C_igthdzux arg1, List<C_jblhunwf> arg2, C_sddaxwyk arg3, int arg4, int arg5)
renderBakedItemQuads(MatrixStack matrices, VertexConsumer vertices, List<BakedQuad> quads, ItemStack stack, int light, int overlay)
renderBakedItemQuads(MatrixStack matrices, VertexConsumer vertices, List<BakedQuad> quads, ItemStack stack, int light, int overlay)
m_115162_(C_3181_ p_115164_, C_3187_ p_115165_, List<C_4196_> p_115166_, C_1391_ p_115167_, int p_115168_, int arg5)
public BakedModel
a(cxo arg0, dhh arg1, bwf 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)
m_ibxdynvu(C_sddaxwyk arg0, C_cdctfzbn arg1, C_usxaxydn arg2, int arg3)
getModel(ItemStack stack, World world, LivingEntity entity, int seed)
getHeldItemModel(ItemStack stack, World world, LivingEntity entity, int seed)
m_174264_(C_1391_ p_174266_, C_1596_ p_174267_, C_524_ p_174268_, int arg3)
public void
a(cxo arg0, cxm arg1, int arg2, int arg3, fgr arg4, glk arg5, dhh 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)
m_ccgpkzbz(C_sddaxwyk arg0, C_byhguelf arg1, int arg2, int arg3, C_cnszsxvd arg4, C_igrgeffe arg5, C_cdctfzbn arg6, int arg7)
renderItem(ItemStack stack, ModelTransformationMode transformationMode, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, int seed)
renderItem(ItemStack stack, ModelTransformationMode modelTransformationMode, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, int seed)
m_269128_(C_1391_ p_270648_, C_268388_ p_270410_, int p_270894_, int p_270430_, C_3181_ p_270457_, C_4139_ p_270149_, C_1596_ p_270509_, int arg7)
public void
a(bwf arg0, cxo arg1, cxm arg2, boolean arg3, fgr arg4, glk arg5, dhh 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)
m_eybxyqkv(C_usxaxydn arg0, C_sddaxwyk arg1, C_byhguelf arg2, boolean arg3, C_cnszsxvd arg4, C_igrgeffe arg5, C_cdctfzbn 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)
renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode modelTransformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, int light, int overlay, int seed)
m_269491_(C_524_ p_270637_, C_1391_ p_270437_, C_268388_ p_270434_, boolean p_270230_, C_3181_ p_270411_, C_4139_ p_270641_, C_1596_ p_270595_, int p_270927_, int p_270845_, int arg9)
public void
a(avv arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
m_dviihlsr(C_tmnrpasf arg0)
reload(ResourceManager arg0)
reload(ResourceManager arg0)
m_6213_(C_77_ arg0)
public BakedModel
a(cxo arg0, bwf arg1, cxm arg2)
resolveItemModel(ItemStack arg0, LivingEntity arg1, ItemDisplayContext arg2)
method_62475(class_1799 arg0, class_1309 arg1, class_811 arg2)
m_knnobqjj(C_sddaxwyk arg0, C_usxaxydn arg1, C_byhguelf arg2)
getModel(ItemStack stack, LivingEntity entity, ModelTransformationMode transformationMode)
m_knnobqjj(ItemStack stack, LivingEntity entity, ModelTransformationMode arg2)
m_352836_(C_1391_ p_361089_, C_524_ p_363628_, C_268388_ arg2)
private BakedModel
a(hdm arg0, cxo arg1, dhh arg2, bwf 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)
m_cygqbswq(C_nnhmhkbv arg0, C_sddaxwyk arg1, C_cdctfzbn arg2, C_usxaxydn arg3, int arg4)
getModelOrOverride(BakedModel model, ItemStack stack, World world, LivingEntity entity, int seed)
m_cygqbswq(BakedModel model, ItemStack stack, World world, LivingEntity entity, int arg4)
m_351722_(C_4528_ p_366170_, C_1391_ p_366692_, C_1596_ p_368475_, C_524_ p_365150_, int arg4)