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>
-
Field Summary
Fields Modifier and Type Field Description private Map<SkullBlock.SkullType,SkullBlockEntityModel>
MODELS
private static Map<SkullBlock.SkullType,Identifier>
TEXTURES
-
Constructor Summary
Constructors Constructor Description SkullBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description static Map<SkullBlock.SkullType,SkullBlockEntityModel>
getModels(EntityModelLoader modelLoader)
static RenderLayer
getRenderLayer(SkullBlock.SkullType type, com.mojang.authlib.GameProfile profile)
static void
method_32161(Direction direction, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, SkullBlockEntityModel skullBlockEntityModel, RenderLayer renderLayer)
void
render(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.block.entity.BlockEntityRenderer
rendersOutsideBoundingBox
-
Field Details
-
TEXTURES
-
MODELS
-
-
Constructor Details
-
SkullBlockEntityRenderer
-
-
Method Details
-
getModels
public static Map<SkullBlock.SkullType,SkullBlockEntityModel> getModels(EntityModelLoader modelLoader) -
render
public void render(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)- Specified by:
render
in interfaceBlockEntityRenderer<SkullBlockEntity>
-
method_32161
public static void method_32161(@Nullable Direction direction, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, SkullBlockEntityModel skullBlockEntityModel, RenderLayer renderLayer) -
getRenderLayer
public static RenderLayer getRenderLayer(SkullBlock.SkullType type, @Nullable com.mojang.authlib.GameProfile profile)
-