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
named net/minecraft/client/render/item/BuiltinModelItemRenderer
intermediary net/minecraft/class_756
official gkr
  • Field Details

    • RENDER_SHULKER_BOX_DYED

      private static final ShulkerBoxBlockEntity[] RENDER_SHULKER_BOX_DYED
      Mappings:
      Namespace Name Mixin selector
      named RENDER_SHULKER_BOX_DYED Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;RENDER_SHULKER_BOX_DYED:[Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;
      intermediary field_3981 Lnet/minecraft/class_756;field_3981:[Lnet/minecraft/class_2627;
      official a Lgkr;a:[Ldwi;
    • RENDER_SHULKER_BOX

      private static final ShulkerBoxBlockEntity RENDER_SHULKER_BOX
      Mappings:
      Namespace Name Mixin selector
      named RENDER_SHULKER_BOX Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;RENDER_SHULKER_BOX:Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;
      intermediary field_3984 Lnet/minecraft/class_756;field_3984:Lnet/minecraft/class_2627;
      official b Lgkr;b:Ldwi;
    • renderChestNormal

      private final ChestBlockEntity renderChestNormal
      Mappings:
      Namespace Name Mixin selector
      named renderChestNormal Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestNormal:Lnet/minecraft/block/entity/ChestBlockEntity;
      intermediary field_3976 Lnet/minecraft/class_756;field_3976:Lnet/minecraft/class_2595;
      official c Lgkr;c:Ldvd;
    • renderChestTrapped

      private final ChestBlockEntity renderChestTrapped
      Mappings:
      Namespace Name Mixin selector
      named renderChestTrapped Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestTrapped:Lnet/minecraft/block/entity/ChestBlockEntity;
      intermediary field_3978 Lnet/minecraft/class_756;field_3978:Lnet/minecraft/class_2595;
      official d Lgkr;d:Ldvd;
    • renderChestEnder

      private final EnderChestBlockEntity renderChestEnder
      Mappings:
      Namespace Name Mixin selector
      named renderChestEnder Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderChestEnder:Lnet/minecraft/block/entity/EnderChestBlockEntity;
      intermediary field_3977 Lnet/minecraft/class_756;field_3977:Lnet/minecraft/class_2611;
      official e Lgkr;e:Ldvt;
    • renderBanner

      private final BannerBlockEntity renderBanner
      Mappings:
      Namespace Name Mixin selector
      named renderBanner Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderBanner:Lnet/minecraft/block/entity/BannerBlockEntity;
      intermediary field_3983 Lnet/minecraft/class_756;field_3983:Lnet/minecraft/class_2573;
      official f Lgkr;f:Ldul;
    • renderBed

      private final BedBlockEntity renderBed
      Mappings:
      Namespace Name Mixin selector
      named renderBed Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderBed:Lnet/minecraft/block/entity/BedBlockEntity;
      intermediary field_3982 Lnet/minecraft/class_756;field_3982:Lnet/minecraft/class_2587;
      official g Lgkr;g:Ldus;
    • renderConduit

      private final ConduitBlockEntity renderConduit
      Mappings:
      Namespace Name Mixin selector
      named renderConduit Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderConduit:Lnet/minecraft/block/entity/ConduitBlockEntity;
      intermediary field_3979 Lnet/minecraft/class_756;field_3979:Lnet/minecraft/class_2597;
      official h Lgkr;h:Ldvi;
    • renderDecoratedPot

      private final DecoratedPotBlockEntity renderDecoratedPot
      Mappings:
      Namespace Name Mixin selector
      named renderDecoratedPot Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;renderDecoratedPot:Lnet/minecraft/block/entity/DecoratedPotBlockEntity;
      intermediary field_42909 Lnet/minecraft/class_756;field_42909:Lnet/minecraft/class_8172;
      official i Lgkr;i:Ldvn;
    • modelShield

      private ShieldEntityModel modelShield
      Mappings:
      Namespace Name Mixin selector
      named modelShield Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;modelShield:Lnet/minecraft/client/render/entity/model/ShieldEntityModel;
      intermediary field_3980 Lnet/minecraft/class_756;field_3980:Lnet/minecraft/class_600;
      official j Lgkr;j:Lgdc;
    • modelTrident

      private TridentEntityModel modelTrident
      Mappings:
      Namespace Name Mixin selector
      named modelTrident Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;modelTrident:Lnet/minecraft/client/render/entity/model/TridentEntityModel;
      intermediary field_3985 Lnet/minecraft/class_756;field_3985:Lnet/minecraft/class_613;
      official k Lgkr;k:Lgdr;
    • skullModels

      Mappings:
      Namespace Name Mixin selector
      named skullModels Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;skullModels:Ljava/util/Map;
      intermediary field_27737 Lnet/minecraft/class_756;field_27737:Ljava/util/Map;
      official l Lgkr;l:Ljava/util/Map;
    • blockEntityRenderDispatcher

      private final BlockEntityRenderDispatcher blockEntityRenderDispatcher
      Mappings:
      Namespace Name Mixin selector
      named blockEntityRenderDispatcher Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;blockEntityRenderDispatcher:Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;
      intermediary field_27738 Lnet/minecraft/class_756;field_27738:Lnet/minecraft/class_824;
      official m Lgkr;m:Lgnu;
    • entityModelLoader

      private final EntityModelLoader entityModelLoader
      Mappings:
      Namespace Name Mixin selector
      named entityModelLoader Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;entityModelLoader:Lnet/minecraft/client/render/entity/model/EntityModelLoader;
      intermediary field_27739 Lnet/minecraft/class_756;field_27739:Lnet/minecraft/class_5599;
      official n Lgkr;n:Lgej;
  • Constructor Details

    • BuiltinModelItemRenderer

      public BuiltinModelItemRenderer(BlockEntityRenderDispatcher blockEntityRenderDispatcher, EntityModelLoader entityModelLoader)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRenderDispatcher;Lnet/minecraft/client/render/entity/model/EntityModelLoader;)V
      intermediary <init> Lnet/minecraft/class_756;<init>(Lnet/minecraft/class_824;Lnet/minecraft/class_5599;)V
      official <init> Lgkr;<init>(Lgnu;Lgej;)V
  • Method Details

    • reload

      public void reload(ResourceManager manager)
      Performs the reload in the apply executor, or the game engine.
      Specified by:
      reload in interface SynchronousResourceReloader
      Parameters:
      manager - the resource manager
      Mappings:
      Namespace Name Mixin selector
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      official a Lavw;a(Lavv;)V
    • render

      public void render(ItemStack stack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/item/BuiltinModelItemRenderer;render(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;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
      official a Lgkr;a(Lcxo;Lcxm;Lfgr;Lglk;II)V