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/SkullBlockEntityRendererintermediary net/minecraft/class_836official guq
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<SkullBlock.SkullType, SkullBlockEntityModel> private static final Map<SkullBlock.SkullType, Identifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable SkullBlockEntityModelgetModels(LoadedEntityModels models, SkullBlock.SkullType type) static RenderLayergetRenderLayer(SkullBlock.SkullType type, @Nullable ProfileComponent profile) static RenderLayergetRenderLayer(SkullBlock.SkullType type, @Nullable ProfileComponent profile, @Nullable Identifier texture) voidrender(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, Vec3d vec3d) static voidrenderSkull(@Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer) 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 bLguq;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 aLguq;a:Ljava/util/function/Function;
-
-
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>Lguq;<init>(Lgub$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 aLguq;a(Lgkn;Ldva$a;)Lgjl;
-
render
public void render(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, Vec3d vec3d) - Specified by:
renderin interfaceBlockEntityRenderer<SkullBlockEntity>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;render(Lnet/minecraft/block/entity/SkullBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/util/math/Vec3d;)Vintermediary method_3577Lnet/minecraft/class_836;method_3577(Lnet/minecraft/class_2631;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_243;)Vofficial aLguq;a(Leae;FLfld;Lgrn;IILfgc;)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 renderSkullLnet/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;)Vintermediary method_32161Lnet/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;)Vofficial aLguq;a(Ljc;FFLfld;Lgrn;ILgjl;Lgry;)V
-
getRenderLayer
public static RenderLayer getRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable ProfileComponent profile) - Mappings:
Namespace Name Mixin selector named getRenderLayerLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/component/type/ProfileComponent;)Lnet/minecraft/client/render/RenderLayer;intermediary method_65832Lnet/minecraft/class_836;method_65832(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_9296;)Lnet/minecraft/class_1921;official aLguq;a(Ldva$a;Lddk;)Lgry;
-
getRenderLayer
public static RenderLayer getRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable ProfileComponent profile, @Nullable @Nullable Identifier texture) - Mappings:
Namespace Name Mixin selector named getRenderLayerLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/component/type/ProfileComponent;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_9296;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;official aLguq;a(Ldva$a;Lddk;Lalr;)Lgry;
-