Class SkullBlockEntityRenderer

java.lang.Object
net.minecraft.client.render.block.entity.SkullBlockEntityRenderer
All Implemented Interfaces:
BlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState>

@Environment(CLIENT) public class SkullBlockEntityRenderer extends Object implements BlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState>
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/SkullBlockEntityRenderer
intermediary net/minecraft/class_836
official hjk
  • Field Details

    • TEXTURES

      private static final Map<SkullBlock.SkullType,Identifier> TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named TEXTURES Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;TEXTURES:Ljava/util/Map;
      intermediary field_4390 Lnet/minecraft/class_836;field_4390:Ljava/util/Map;
      official b Lhjk;b:Ljava/util/Map;
    • models

      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;models:Ljava/util/function/Function;
      intermediary field_4391 Lnet/minecraft/class_836;field_4391:Ljava/util/function/Function;
      official a Lhjk;a:Ljava/util/function/Function;
    • skinCache

      private final PlayerSkinCache skinCache
      Mappings:
      Namespace Name Mixin selector
      named skinCache Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;skinCache:Lnet/minecraft/client/texture/PlayerSkinCache;
      intermediary field_62253 Lnet/minecraft/class_836;field_62253:Lnet/minecraft/class_11786;
      official c Lhjk;c:Lhgc;
  • Constructor Details

    • SkullBlockEntityRenderer

      public SkullBlockEntityRenderer(BlockEntityRendererFactory.Context context)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_836;<init>(Lnet/minecraft/class_5614$class_5615;)V
      official <init> Lhjk;<init>(Lhit$a;)V
  • Method Details

    • getModels

      Mappings:
      Namespace Name Mixin selector
      named getModels Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getModels(Lnet/minecraft/client/render/entity/model/LoadedEntityModels;Lnet/minecraft/block/SkullBlock$SkullType;)Lnet/minecraft/client/render/block/entity/SkullBlockEntityModel;
      intermediary method_32160 Lnet/minecraft/class_836;method_32160(Lnet/minecraft/class_5599;Lnet/minecraft/class_2484$class_2485;)Lnet/minecraft/class_5598;
      official a Lhjk;a(Lgyk;Lecm$a;)Lgxi;
    • createRenderState

      public SkullBlockEntityRenderState createRenderState()
      Specified by:
      createRenderState in interface BlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;createRenderState()Lnet/minecraft/client/render/block/entity/state/SkullBlockEntityRenderState;
      intermediary method_74385 Lnet/minecraft/class_836;method_74385()Lnet/minecraft/class_11972;
      official a Lhjk;a()Lhkm;
    • updateRenderState

      public void updateRenderState(SkullBlockEntity skullBlockEntity, SkullBlockEntityRenderState skullBlockEntityRenderState, float float2, Vec3d vec3d, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand)
      Specified by:
      updateRenderState in interface BlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;updateRenderState(Lnet/minecraft/block/entity/SkullBlockEntity;Lnet/minecraft/client/render/block/entity/state/SkullBlockEntityRenderState;FLnet/minecraft/util/math/Vec3d;Lnet/minecraft/client/render/command/ModelCommandRenderer$CrumblingOverlayCommand;)V
      intermediary method_74386 Lnet/minecraft/class_836;method_74386(Lnet/minecraft/class_2631;Lnet/minecraft/class_11972;FLnet/minecraft/class_243;Lnet/minecraft/class_11683$class_11792;)V
      official a Lhjk;a(Lehz;Lhkm;FLfoh;Lhxo$a;)V
    • render

      public void render(SkullBlockEntityRenderState skullBlockEntityRenderState, MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue, CameraRenderState cameraRenderState)
      Specified by:
      render in interface BlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;render(Lnet/minecraft/client/render/block/entity/state/SkullBlockEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_3577 Lnet/minecraft/class_836;method_3577(Lnet/minecraft/class_11972;Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;Lnet/minecraft/class_12075;)V
      official a Lhjk;a(Lhkm;Lfua;Lhgy;Libo;)V
    • render

      public static void render(@Nullable @Nullable Direction facing, float yaw, float poweredTicks, MatrixStack matrices, OrderedRenderCommandQueue queue, int light, SkullBlockEntityModel model, RenderLayer renderLayer, int outlineColor, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;render(Lnet/minecraft/util/math/Direction;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;ILnet/minecraft/client/render/block/entity/SkullBlockEntityModel;Lnet/minecraft/client/render/RenderLayer;ILnet/minecraft/client/render/command/ModelCommandRenderer$CrumblingOverlayCommand;)V
      intermediary method_72958 Lnet/minecraft/class_836;method_72958(Lnet/minecraft/class_2350;FFLnet/minecraft/class_4587;Lnet/minecraft/class_11659;ILnet/minecraft/class_5598;Lnet/minecraft/class_1921;ILnet/minecraft/class_11683$class_11792;)V
      official a Lhjk;a(Ljg;FFLfua;Lhgy;ILgxi;Lhgk;ILhxo$a;)V
    • renderSkull

      private RenderLayer renderSkull(SkullBlock.SkullType skullType, SkullBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      named renderSkull Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;renderSkull(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/block/entity/SkullBlockEntity;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_32161 Lnet/minecraft/class_836;method_32161(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_2631;)Lnet/minecraft/class_1921;
      official a Lhjk;a(Lecm$a;Lehz;)Lhgk;
    • getCutoutRenderLayer

      public static RenderLayer getCutoutRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named getCutoutRenderLayer Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getCutoutRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_3578 Lnet/minecraft/class_836;method_3578(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;
      official a Lhjk;a(Lecm$a;Lamj;)Lhgk;
    • getTranslucentRenderLayer

      public static RenderLayer getTranslucentRenderLayer(Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named getTranslucentRenderLayer Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getTranslucentRenderLayer(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_72165 Lnet/minecraft/class_836;method_72165(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;
      official a Lhjk;a(Lamj;)Lhgk;