public class SkullTileEntityRenderer extends TileEntityRenderer<SkullTileEntity>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<SkullBlock.ISkullType,GenericHeadModel> |
MODELS |
private static java.util.Map<SkullBlock.ISkullType,ResourceLocation> |
SKINS |
renderDispatcher
Constructor and Description |
---|
SkullTileEntityRenderer(TileEntityRendererDispatcher p_i226015_1_) |
Modifier and Type | Method and Description |
---|---|
private static RenderType |
getRenderType(SkullBlock.ISkullType skullType,
com.mojang.authlib.GameProfile gameProfileIn) |
static void |
render(Direction directionIn,
float p_228879_1_,
SkullBlock.ISkullType skullType,
com.mojang.authlib.GameProfile gameProfileIn,
float animationProgress,
MatrixStack matrixStackIn,
IRenderTypeBuffer buffer,
int combinedLight) |
void |
render(SkullTileEntity tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
isGlobalRenderer
private static final java.util.Map<SkullBlock.ISkullType,GenericHeadModel> MODELS
private static final java.util.Map<SkullBlock.ISkullType,ResourceLocation> SKINS
public SkullTileEntityRenderer(TileEntityRendererDispatcher p_i226015_1_)
public void render(SkullTileEntity tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
render
in class TileEntityRenderer<SkullTileEntity>
public static void render(@Nullable Direction directionIn, float p_228879_1_, SkullBlock.ISkullType skullType, @Nullable com.mojang.authlib.GameProfile gameProfileIn, float animationProgress, MatrixStack matrixStackIn, IRenderTypeBuffer buffer, int combinedLight)
private static RenderType getRenderType(SkullBlock.ISkullType skullType, @Nullable com.mojang.authlib.GameProfile gameProfileIn)