Package net.minecraft.client.render.item
Class BuiltinModelItemRenderer
java.lang.Object
net.minecraft.client.render.item.BuiltinModelItemRenderer
- All Implemented Interfaces:
ResourceReloader
,SynchronousResourceReloader
@Environment(CLIENT)
public class BuiltinModelItemRenderer
extends Object
implements SynchronousResourceReloader
- Mappings:
Namespace Name official fnr
intermediary net/minecraft/class_756
named net/minecraft/client/render/item/BuiltinModelItemRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockEntityRenderDispatcher
private final EntityModelLoader
private ShieldEntityModel
private TridentEntityModel
private static final ShulkerBoxBlockEntity
private static final ShulkerBoxBlockEntity[]
private final BannerBlockEntity
private final BedBlockEntity
private final EnderChestBlockEntity
private final ChestBlockEntity
private final ChestBlockEntity
private final ConduitBlockEntity
private final DecoratedPotBlockEntity
private Map<SkullBlock.SkullType,
SkullBlockEntityModel> -
Constructor Summary
ConstructorDescriptionBuiltinModelItemRenderer
(BlockEntityRenderDispatcher blockEntityRenderDispatcher, EntityModelLoader entityModelLoader) -
Method Summary
Modifier and TypeMethodDescriptionvoid
reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.void
render
(ItemStack stack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloader
getName
Methods inherited from interface net.minecraft.resource.SynchronousResourceReloader
reload
-
Field Details
-
RENDER_SHULKER_BOX_DYED
- Mappings:
Namespace Name Mixin selector official a
Lfnr;a:[Ldec;
intermediary field_3981
Lnet/minecraft/class_756;field_3981:[Lnet/minecraft/class_2627;
named RENDER_SHULKER_BOX_DYED
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;RENDER_SHULKER_BOX_DYED:[Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;
-
RENDER_SHULKER_BOX
- Mappings:
Namespace Name Mixin selector official b
Lfnr;b:Ldec;
intermediary field_3984
Lnet/minecraft/class_756;field_3984:Lnet/minecraft/class_2627;
named RENDER_SHULKER_BOX
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;RENDER_SHULKER_BOX:Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;
-
renderChestNormal
- Mappings:
Namespace Name Mixin selector official c
Lfnr;c:Lddc;
intermediary field_3976
Lnet/minecraft/class_756;field_3976:Lnet/minecraft/class_2595;
named renderChestNormal
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestNormal:Lnet/minecraft/block/entity/ChestBlockEntity;
-
renderChestTrapped
- Mappings:
Namespace Name Mixin selector official d
Lfnr;d:Lddc;
intermediary field_3978
Lnet/minecraft/class_756;field_3978:Lnet/minecraft/class_2595;
named renderChestTrapped
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestTrapped:Lnet/minecraft/block/entity/ChestBlockEntity;
-
renderChestEnder
- Mappings:
Namespace Name Mixin selector official e
Lfnr;e:Lddp;
intermediary field_3977
Lnet/minecraft/class_756;field_3977:Lnet/minecraft/class_2611;
named renderChestEnder
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestEnder:Lnet/minecraft/block/entity/EnderChestBlockEntity;
-
renderBanner
- Mappings:
Namespace Name Mixin selector official f
Lfnr;f:Ldcl;
intermediary field_3983
Lnet/minecraft/class_756;field_3983:Lnet/minecraft/class_2573;
named renderBanner
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderBanner:Lnet/minecraft/block/entity/BannerBlockEntity;
-
renderBed
- Mappings:
Namespace Name Mixin selector official g
Lfnr;g:Ldcr;
intermediary field_3982
Lnet/minecraft/class_756;field_3982:Lnet/minecraft/class_2587;
named renderBed
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderBed:Lnet/minecraft/block/entity/BedBlockEntity;
-
renderConduit
- Mappings:
Namespace Name Mixin selector official h
Lfnr;h:Lddh;
intermediary field_3979
Lnet/minecraft/class_756;field_3979:Lnet/minecraft/class_2597;
named renderConduit
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderConduit:Lnet/minecraft/block/entity/ConduitBlockEntity;
-
renderDecoratedPot
- Mappings:
Namespace Name Mixin selector official i
Lfnr;i:Lddk;
intermediary field_42909
Lnet/minecraft/class_756;field_42909:Lnet/minecraft/class_8172;
named renderDecoratedPot
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderDecoratedPot:Lnet/minecraft/block/entity/DecoratedPotBlockEntity;
-
modelShield
- Mappings:
Namespace Name Mixin selector official j
Lfnr;j:Lfgu;
intermediary field_3980
Lnet/minecraft/class_756;field_3980:Lnet/minecraft/class_600;
named modelShield
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;modelShield:Lnet/minecraft/client/render/entity/model/ShieldEntityModel;
-
modelTrident
- Mappings:
Namespace Name Mixin selector official k
Lfnr;k:Lfhi;
intermediary field_3985
Lnet/minecraft/class_756;field_3985:Lnet/minecraft/class_613;
named modelTrident
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;modelTrident:Lnet/minecraft/client/render/entity/model/TridentEntityModel;
-
skullModels
- Mappings:
Namespace Name Mixin selector official l
Lfnr;l:Ljava/util/Map;
intermediary field_27737
Lnet/minecraft/class_756;field_27737:Ljava/util/Map;
named skullModels
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;skullModels:Ljava/util/Map;
-
blockEntityRenderDispatcher
- Mappings:
Namespace Name Mixin selector official m
Lfnr;m:Lfqd;
intermediary field_27738
Lnet/minecraft/class_756;field_27738:Lnet/minecraft/class_824;
named blockEntityRenderDispatcher
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;blockEntityRenderDispatcher:Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;
-
entityModelLoader
- Mappings:
Namespace Name Mixin selector official n
Lfnr;n:Lfhy;
intermediary field_27739
Lnet/minecraft/class_756;field_27739:Lnet/minecraft/class_5599;
named entityModelLoader
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;entityModelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
-
-
Constructor Details
-
BuiltinModelItemRenderer
public BuiltinModelItemRenderer(BlockEntityRenderDispatcher blockEntityRenderDispatcher, EntityModelLoader entityModelLoader) - Mappings:
Namespace Name Mixin selector official <init>
Lfnr;<init>(Lfqd;Lfhy;)V
intermediary <init>
Lnet/minecraft/class_756;<init>(Lnet/minecraft/class_824;Lnet/minecraft/class_5599;)V
named <init>
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;Lnet/minecraft/client/render/entity/model/EntityModelLoader;)V
-
-
Method Details
-
reload
Performs the reload in the apply executor, or the game engine.- Specified by:
reload
in interfaceSynchronousResourceReloader
- Parameters:
manager
- the resource manager- Mappings:
Namespace Name Mixin selector official a
Lanu;a(Lant;)V
intermediary method_14491
Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
named reload
Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
-
render
public void render(ItemStack stack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) - Mappings:
Namespace Name Mixin selector official a
Lfnr;a(Lcjf;Lcjc;Lelp;Lfoe;II)V
intermediary method_3166
Lnet/minecraft/class_756;method_3166(Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
named render
Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;render(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformationMode;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
-