net.minecraft.client.renderer.entity

public class ItemRenderer

implements ResourceManagerReloadListener

foc
net.minecraft.client.renderer.entity.ItemRenderer
net.minecraft.class_918
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
ENTITY_ENCHANTMENT_GLINT
f_273897_
public static final ResourceLocation
b
ENCHANTED_GLINT_ITEM
field_43087
ITEM_ENCHANTMENT_GLINT
f_273833_
private static final Set<Item>
i
IGNORED
field_4728
WITHOUT_MODELS
f_115094_
private static final int
j
GUI_SLOT_CENTER_X
field_32937
field_32937
f_174221_
private static final int
k
GUI_SLOT_CENTER_Y
field_32938
field_32938
f_174222_
public static final int
c
ITEM_COUNT_BLIT_OFFSET
field_32934
field_32934
f_174218_
public static final float
d
COMPASS_FOIL_UI_SCALE
field_32935
COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER
f_174219_
public static final float
e
COMPASS_FOIL_FIRST_PERSON_SCALE
field_32936
COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER
f_174220_
public static final float
f
COMPASS_FOIL_TEXTURE_SCALE
field_41120
field_41120
f_256734_
private static final ModelResourceLocation
l
TRIDENT_MODEL
field_40532
TRIDENT
f_244324_
public static final ModelResourceLocation
g
TRIDENT_IN_HAND_MODEL
field_40530
TRIDENT_IN_HAND
f_244055_
private static final ModelResourceLocation
m
SPYGLASS_MODEL
field_40533
SPYGLASS
f_244537_
public static final ModelResourceLocation
h
SPYGLASS_IN_HAND_MODEL
field_40531
SPYGLASS_IN_HAND
f_243706_
private final Minecraft
n
minecraft
field_42073
client
f_265848_
private final ItemModelShaper
o
itemModelShaper
field_4732
models
f_115095_
private final TextureManager
p
textureManager
field_4729
textureManager
f_115096_
private final ItemColors
q
itemColors
field_4733
colors
f_115097_
private final BlockEntityWithoutLevelRenderer
r
blockEntityRenderer
field_27770
builtinModelItemRenderer
f_174223_

Constructor summary

ModifierConstructor
public (Minecraft client, TextureManager manager, ModelManager bakery, ItemColors colors, BlockEntityWithoutLevelRenderer builtinModelItemRenderer)

Method summary

Modifier and TypeMethod
public ItemModelShaper
a()
getItemModelShaper()
method_4012()
getModels()
m_115103_()
private void
a(fuy arg0, cfv arg1, int arg2, int arg3, ehe arg4, ehi 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)
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(cfv arg0, cfs arg1, boolean arg2, ehe arg3, fig arg4, int arg5, int arg6, fuy 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 renderMode, 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 static VertexConsumer
a(fig arg0, fio arg1, boolean arg2, boolean arg3)
getArmorFoilBuffer(MultiBufferSource arg0, RenderType arg1, boolean arg2, boolean arg3)
method_27952(class_4597 arg0, class_1921 arg1, boolean arg2, boolean arg3)
getArmorGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint)
m_115184_(C_4139_ p_115185_, C_4168_ p_115186_, boolean p_115187_, boolean p_115188_)
public static VertexConsumer
a(fig arg0, fio arg1, ehe$a arg2)
getCompassFoilBuffer(MultiBufferSource arg0, RenderType arg1, PoseStack$Pose arg2)
method_30114(class_4597 arg0, class_1921 arg1, class_4587$class_4665 arg2)
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
b(fig arg0, fio arg1, ehe$a arg2)
getCompassFoilBufferDirect(MultiBufferSource arg0, RenderType arg1, PoseStack$Pose arg2)
method_30115(class_4597 arg0, class_1921 arg1, class_4587$class_4665 arg2)
getDirectCompassGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, MatrixStack$Entry entry)
m_115207_(C_4139_ p_115208_, C_4168_ p_115209_, C_3181_$C_3183_ p_115210_)
public static VertexConsumer
b(fig arg0, fio 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)
m_115211_(C_4139_ p_115212_, C_4168_ p_115213_, boolean p_115214_, boolean p_115215_)
public static VertexConsumer
c(fig arg0, fio arg1, boolean arg2, boolean arg3)
getFoilBufferDirect(MultiBufferSource arg0, RenderType arg1, boolean arg2, boolean arg3)
method_29711(class_4597 arg0, class_1921 arg1, boolean arg2, boolean arg3)
getDirectItemGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint)
m_115222_(C_4139_ p_115223_, C_4168_ p_115224_, boolean p_115225_, boolean p_115226_)
private void
a(ehe arg0, ehi arg1, List<fja> arg2, cfv 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)
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(cfv arg0, cmi arg1, bfx 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)
m_174264_(C_1391_ p_174266_, C_1596_ p_174267_, C_524_ p_174268_, int arg3)
public void
a(cfv arg0, cfs arg1, int arg2, int arg3, ehe arg4, fig arg5, cmi 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 transformationType, 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(bfx arg0, cfv arg1, cfs arg2, boolean arg3, ehe arg4, fig arg5, cmi 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 renderMode, 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(ehe arg0, cfv arg1, int arg2, int arg3)
renderGuiItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3)
method_4010(class_4587 arg0, class_1799 arg1, int arg2, int arg3)
renderGuiItemIcon(MatrixStack matrices, ItemStack stack, int x, int y)
m_274569_(C_3181_ p_275575_, C_1391_ p_275265_, int p_275235_, int arg3)
protected void
a(ehe arg0, cfv arg1, int arg2, int arg3, fuy arg4)
renderGuiItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3, BakedModel arg4)
method_4021(class_4587 arg0, class_1799 arg1, int arg2, int arg3, class_1087 arg4)
renderGuiItemModel(MatrixStack matrices, ItemStack stack, int x, int y, BakedModel model)
m_274490_(C_3181_ p_275195_, C_1391_ p_275214_, int p_275658_, int p_275740_, C_4528_ arg4)
public void
b(ehe arg0, cfv arg1, int arg2, int arg3)
renderAndDecorateItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3)
method_4023(class_4587 arg0, class_1799 arg1, int arg2, int arg3)
renderInGuiWithOverrides(MatrixStack matrices, ItemStack stack, int x, int y)
m_274369_(C_3181_ p_275552_, C_1391_ p_275198_, int p_275738_, int arg3)
public void
a(ehe arg0, cfv arg1, int arg2, int arg3, int arg4)
renderAndDecorateItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3, int arg4)
method_32797(class_4587 arg0, class_1799 arg1, int arg2, int arg3, int arg4)
renderInGuiWithOverrides(MatrixStack matrices, ItemStack stack, int x, int y, int seed)
m_274407_(C_3181_ p_275685_, C_1391_ p_275360_, int p_275448_, int p_275456_, int arg4)
public void
a(ehe arg0, cfv arg1, int arg2, int arg3, int arg4, int arg5)
renderAndDecorateItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3, int arg4, int arg5)
method_36542(class_4587 arg0, class_1799 arg1, int arg2, int arg3, int arg4, int arg5)
renderInGuiWithOverrides(MatrixStack matrices, ItemStack stack, int x, int y, int seed, int depth)
m_274350_(C_3181_ p_275612_, C_1391_ p_275743_, int p_275591_, int p_275231_, int p_275345_, int arg5)
public void
c(ehe arg0, cfv arg1, int arg2, int arg3)
renderAndDecorateFakeItem(PoseStack arg0, ItemStack arg1, int arg2, int arg3)
method_27953(class_4587 arg0, class_1799 arg1, int arg2, int arg3)
renderInGui(MatrixStack matrices, ItemStack stack, int x, int y)
m_274336_(C_3181_ p_275595_, C_1391_ p_275671_, int p_275526_, int arg3)
public void
a(ehe arg0, bfx arg1, cfv arg2, int arg3, int arg4, int arg5)
renderAndDecorateItem(PoseStack arg0, LivingEntity arg1, ItemStack arg2, int arg3, int arg4, int arg5)
method_27951(class_4587 arg0, class_1309 arg1, class_1799 arg2, int arg3, int arg4, int arg5)
renderInGuiWithOverrides(MatrixStack matrices, LivingEntity entity, ItemStack stack, int x, int y, int seed)
m_274301_(C_3181_ p_275691_, C_524_ p_275472_, C_1391_ p_275283_, int p_275239_, int p_275587_, int arg5)
private void
a(ehe arg0, bfx arg1, cmi arg2, cfv arg3, int arg4, int arg5, int arg6)
tryRenderGuiItem(PoseStack arg0, LivingEntity arg1, Level arg2, ItemStack arg3, int arg4, int arg5, int arg6)
method_36543(class_4587 arg0, class_1309 arg1, class_1937 arg2, class_1799 arg3, int arg4, int arg5, int arg6)
innerRenderInGui(MatrixStack matrices, LivingEntity entity, World world, ItemStack stack, int x, int y, int seed)
m_274303_(C_3181_ p_275317_, C_524_ p_275599_, C_1596_ p_275500_, C_1391_ p_275679_, int p_275377_, int p_275380_, int arg6)
private void
a(ehe arg0, bfx arg1, cmi arg2, cfv arg3, int arg4, int arg5, int arg6, int arg7)
tryRenderGuiItem(PoseStack arg0, LivingEntity arg1, Level arg2, ItemStack arg3, int arg4, int arg5, int arg6, int arg7)
method_4026(class_4587 arg0, class_1309 arg1, class_1937 arg2, class_1799 arg3, int arg4, int arg5, int arg6, int arg7)
innerRenderInGui(MatrixStack matrices, LivingEntity entity, World world, ItemStack stack, int x, int y, int seed, int depth)
m_274616_(C_3181_ p_275405_, C_524_ p_275402_, C_1596_ p_275431_, C_1391_ p_275347_, int p_275504_, int p_275678_, int p_275555_, int arg7)
public void
a(ehe arg0, enp arg1, cfv arg2, int arg3, int arg4)
renderGuiItemDecorations(PoseStack arg0, Font arg1, ItemStack arg2, int arg3, int arg4)
method_4025(class_4587 arg0, class_327 arg1, class_1799 arg2, int arg3, int arg4)
renderGuiItemOverlay(MatrixStack matrices, TextRenderer textRenderer, ItemStack stack, int x, int y)
m_274412_(C_3181_ p_275636_, C_3429_ p_275514_, C_1391_ p_275695_, int p_275460_, int arg4)
public void
a(ehe arg0, enp arg1, cfv arg2, int arg3, int arg4, String arg5)
renderGuiItemDecorations(PoseStack arg0, Font arg1, ItemStack arg2, int arg3, int arg4, String arg5)
method_4022(class_4587 arg0, class_327 arg1, class_1799 arg2, int arg3, int arg4, String arg5)
renderGuiItemOverlay(MatrixStack matrices, TextRenderer textRenderer, ItemStack stack, int x, int y, String countLabel)
m_274364_(C_3181_ p_275652_, C_3429_ p_275590_, C_1391_ p_275202_, int p_275508_, int p_275302_, String arg5)
public void
a(alh arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)
m_6213_(C_77_ arg0)