Class SkullBlockEntityRenderer

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

@Environment(CLIENT) public class SkullBlockEntityRenderer extends Object implements BlockEntityRenderer<SkullBlockEntity>
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/SkullBlockEntityRenderer
intermediary net/minecraft/class_836
official gho
  • 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 Lgho;b:Ljava/util/Map;
    • MODELS

      Mappings:
      Namespace Name Mixin selector
      named MODELS Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;MODELS:Ljava/util/Map;
      intermediary field_4391 Lnet/minecraft/class_836;field_4391:Ljava/util/Map;
      official a Lgho;a:Ljava/util/Map;
  • Constructor Details

    • SkullBlockEntityRenderer

      public SkullBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      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> Lgho;<init>(Lgha$a;)V
  • Method Details

    • getModels

      public static Map<SkullBlock.SkullType,SkullBlockEntityModel> getModels(EntityModelLoader modelLoader)
      Mappings:
      Namespace Name Mixin selector
      named getModels Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getModels(Lnet/minecraft/client/render/entity/model/EntityModelLoader;)Ljava/util/Map;
      intermediary method_32160 Lnet/minecraft/class_836;method_32160(Lnet/minecraft/class_5599;)Ljava/util/Map;
      official a Lgho;a(Lfyg;)Ljava/util/Map;
    • render

      public void render(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<SkullBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;render(Lnet/minecraft/block/entity/SkullBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
      intermediary method_3577 Lnet/minecraft/class_836;method_3577(Lnet/minecraft/class_2631;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      official a Lgho;a(Ldru;FLfbi;Lgez;II)V
    • renderSkull

      public static void renderSkull(@Nullable @Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer)
      Mappings:
      Namespace Name Mixin selector
      named renderSkull Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;renderSkull(Lnet/minecraft/util/math/Direction;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/block/entity/SkullBlockEntityModel;Lnet/minecraft/client/render/RenderLayer;)V
      intermediary method_32161 Lnet/minecraft/class_836;method_32161(Lnet/minecraft/class_2350;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_5598;Lnet/minecraft/class_1921;)V
      official a Lgho;a(Lji;FFLfbi;Lgez;ILfxh;Lgfh;)V
    • getRenderLayer

      public static RenderLayer getRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable ProfileComponent profile)
      Mappings:
      Namespace Name Mixin selector
      named getRenderLayer Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/component/type/ProfileComponent;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_3578 Lnet/minecraft/class_836;method_3578(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_9296;)Lnet/minecraft/class_1921;
      official a Lgho;a(Ldnb$a;Lcxu;)Lgfh;