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/SkullBlockEntityRendererintermediary net/minecraft/class_836official hjk
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<SkullBlock.SkullType, SkullBlockEntityModel> private final PlayerSkinCacheprivate static final Map<SkullBlock.SkullType, Identifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderLayergetCutoutRenderLayer(SkullBlock.SkullType type, @Nullable Identifier texture) static @Nullable SkullBlockEntityModelgetModels(LoadedEntityModels models, SkullBlock.SkullType type) static RenderLayergetTranslucentRenderLayer(Identifier texture) voidrender(SkullBlockEntityRenderState skullBlockEntityRenderState, MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue, CameraRenderState cameraRenderState) static voidrender(@Nullable Direction facing, float yaw, float poweredTicks, MatrixStack matrices, OrderedRenderCommandQueue queue, int light, SkullBlockEntityModel model, RenderLayer renderLayer, int outlineColor, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay) private RenderLayerrenderSkull(SkullBlock.SkullType skullType, SkullBlockEntity blockEntity) voidupdateRenderState(SkullBlockEntity skullBlockEntity, SkullBlockEntityRenderState skullBlockEntityRenderState, float float2, Vec3d vec3d, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.block.entity.BlockEntityRenderer
getRenderDistance, isInRenderDistance, rendersOutsideBoundingBox
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURESLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;TEXTURES:Ljava/util/Map;intermediary field_4390Lnet/minecraft/class_836;field_4390:Ljava/util/Map;official bLhjk;b:Ljava/util/Map;
-
models
- Mappings:
Namespace Name Mixin selector named modelsLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;models:Ljava/util/function/Function;intermediary field_4391Lnet/minecraft/class_836;field_4391:Ljava/util/function/Function;official aLhjk;a:Ljava/util/function/Function;
-
skinCache
- Mappings:
Namespace Name Mixin selector named skinCacheLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;skinCache:Lnet/minecraft/client/texture/PlayerSkinCache;intermediary field_62253Lnet/minecraft/class_836;field_62253:Lnet/minecraft/class_11786;official cLhjk;c:Lhgc;
-
-
Constructor Details
-
SkullBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)Vintermediary <init>Lnet/minecraft/class_836;<init>(Lnet/minecraft/class_5614$class_5615;)Vofficial <init>Lhjk;<init>(Lhit$a;)V
-
-
Method Details
-
getModels
@Nullable public static @Nullable SkullBlockEntityModel getModels(LoadedEntityModels models, SkullBlock.SkullType type) - Mappings:
Namespace Name Mixin selector named getModelsLnet/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_32160Lnet/minecraft/class_836;method_32160(Lnet/minecraft/class_5599;Lnet/minecraft/class_2484$class_2485;)Lnet/minecraft/class_5598;official aLhjk;a(Lgyk;Lecm$a;)Lgxi;
-
createRenderState
- Specified by:
createRenderStatein interfaceBlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderStateLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;createRenderState()Lnet/minecraft/client/render/block/entity/state/SkullBlockEntityRenderState;intermediary method_74385Lnet/minecraft/class_836;method_74385()Lnet/minecraft/class_11972;official aLhjk;a()Lhkm;
-
updateRenderState
public void updateRenderState(SkullBlockEntity skullBlockEntity, SkullBlockEntityRenderState skullBlockEntityRenderState, float float2, Vec3d vec3d, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand) - Specified by:
updateRenderStatein interfaceBlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState> - Mappings:
Namespace Name Mixin selector named updateRenderStateLnet/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;)Vintermediary method_74386Lnet/minecraft/class_836;method_74386(Lnet/minecraft/class_2631;Lnet/minecraft/class_11972;FLnet/minecraft/class_243;Lnet/minecraft/class_11683$class_11792;)Vofficial aLhjk;a(Lehz;Lhkm;FLfoh;Lhxo$a;)V
-
render
public void render(SkullBlockEntityRenderState skullBlockEntityRenderState, MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue, CameraRenderState cameraRenderState) - Specified by:
renderin interfaceBlockEntityRenderer<SkullBlockEntity,SkullBlockEntityRenderState> - Mappings:
Namespace Name Mixin selector named renderLnet/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;)Vintermediary method_3577Lnet/minecraft/class_836;method_3577(Lnet/minecraft/class_11972;Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;Lnet/minecraft/class_12075;)Vofficial aLhjk;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 renderLnet/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;)Vintermediary method_72958Lnet/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;)Vofficial aLhjk;a(Ljg;FFLfua;Lhgy;ILgxi;Lhgk;ILhxo$a;)V
-
renderSkull
- Mappings:
Namespace Name Mixin selector named renderSkullLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;renderSkull(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/block/entity/SkullBlockEntity;)Lnet/minecraft/client/render/RenderLayer;intermediary method_32161Lnet/minecraft/class_836;method_32161(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_2631;)Lnet/minecraft/class_1921;official aLhjk;a(Lecm$a;Lehz;)Lhgk;
-
getCutoutRenderLayer
public static RenderLayer getCutoutRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable Identifier texture) - Mappings:
Namespace Name Mixin selector named getCutoutRenderLayerLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getCutoutRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;intermediary method_3578Lnet/minecraft/class_836;method_3578(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;official aLhjk;a(Lecm$a;Lamj;)Lhgk;
-
getTranslucentRenderLayer
- Mappings:
Namespace Name Mixin selector named getTranslucentRenderLayerLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getTranslucentRenderLayer(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;intermediary method_72165Lnet/minecraft/class_836;method_72165(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;official aLhjk;a(Lamj;)Lhgk;
-