Class SkullTileEntityRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.tileentity.TileEntityRenderer<SkullTileEntity>
-
- net.minecraft.client.renderer.tileentity.SkullTileEntityRenderer
-
public class SkullTileEntityRenderer extends TileEntityRenderer<SkullTileEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<SkullBlock.ISkullType,GenericHeadModel>
MODEL_BY_TYPE
private static java.util.Map<SkullBlock.ISkullType,ResourceLocation>
SKIN_BY_TYPE
-
Fields inherited from class net.minecraft.client.renderer.tileentity.TileEntityRenderer
renderer
-
-
Constructor Summary
Constructors Constructor Description SkullTileEntityRenderer(TileEntityRendererDispatcher p_i226015_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static RenderType
getRenderType(SkullBlock.ISkullType p_228878_0_, com.mojang.authlib.GameProfile p_228878_1_)
void
render(SkullTileEntity p_225616_1_, float p_225616_2_, MatrixStack p_225616_3_, IRenderTypeBuffer p_225616_4_, int p_225616_5_, int p_225616_6_)
static void
renderSkull(Direction p_228879_0_, float p_228879_1_, SkullBlock.ISkullType p_228879_2_, com.mojang.authlib.GameProfile p_228879_3_, float p_228879_4_, MatrixStack p_228879_5_, IRenderTypeBuffer p_228879_6_, int p_228879_7_)
-
Methods inherited from class net.minecraft.client.renderer.tileentity.TileEntityRenderer
shouldRenderOffScreen
-
-
-
-
Field Detail
-
MODEL_BY_TYPE
private static final java.util.Map<SkullBlock.ISkullType,GenericHeadModel> MODEL_BY_TYPE
-
SKIN_BY_TYPE
private static final java.util.Map<SkullBlock.ISkullType,ResourceLocation> SKIN_BY_TYPE
-
-
Constructor Detail
-
SkullTileEntityRenderer
public SkullTileEntityRenderer(TileEntityRendererDispatcher p_i226015_1_)
-
-
Method Detail
-
render
public void render(SkullTileEntity p_225616_1_, float p_225616_2_, MatrixStack p_225616_3_, IRenderTypeBuffer p_225616_4_, int p_225616_5_, int p_225616_6_)
- Specified by:
render
in classTileEntityRenderer<SkullTileEntity>
-
renderSkull
public static void renderSkull(@Nullable Direction p_228879_0_, float p_228879_1_, SkullBlock.ISkullType p_228879_2_, @Nullable com.mojang.authlib.GameProfile p_228879_3_, float p_228879_4_, MatrixStack p_228879_5_, IRenderTypeBuffer p_228879_6_, int p_228879_7_)
-
getRenderType
private static RenderType getRenderType(SkullBlock.ISkullType p_228878_0_, @Nullable com.mojang.authlib.GameProfile p_228878_1_)
-
-