public class TileEntitySkullRenderer extends TileEntitySpecialRenderer<TileEntitySkull>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
CREEPER_TEXTURES |
private static ResourceLocation |
DRAGON_TEXTURES |
private ModelDragonHead |
dragonHead |
private ModelSkeletonHead |
humanoidHead |
static TileEntitySkullRenderer |
instance |
private static ResourceLocation |
SKELETON_TEXTURES |
private ModelSkeletonHead |
skeletonHead |
private static ResourceLocation |
WITHER_SKELETON_TEXTURES |
private static ResourceLocation |
ZOMBIE_TEXTURES |
DESTROY_STAGES, rendererDispatcher
Constructor and Description |
---|
TileEntitySkullRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(TileEntitySkull te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
float alpha) |
void |
renderSkull(float x,
float y,
float z,
EnumFacing facing,
float rotationIn,
int skullType,
com.mojang.authlib.GameProfile profile,
int destroyStage,
float animateTicks) |
void |
setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn) |
bindTexture, drawNameplate, getFontRenderer, getWorld, isGlobalRenderer, renderTileEntityFast, setLightmapDisabled
private static final ResourceLocation SKELETON_TEXTURES
private static final ResourceLocation WITHER_SKELETON_TEXTURES
private static final ResourceLocation ZOMBIE_TEXTURES
private static final ResourceLocation CREEPER_TEXTURES
private static final ResourceLocation DRAGON_TEXTURES
private final ModelDragonHead dragonHead
public static TileEntitySkullRenderer instance
private final ModelSkeletonHead skeletonHead
private final ModelSkeletonHead humanoidHead
public void render(TileEntitySkull te, double x, double y, double z, float partialTicks, int destroyStage, float alpha)
render
in class TileEntitySpecialRenderer<TileEntitySkull>
public void setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn)
setRendererDispatcher
in class TileEntitySpecialRenderer<TileEntitySkull>
public void renderSkull(float x, float y, float z, EnumFacing facing, float rotationIn, int skullType, @Nullable com.mojang.authlib.GameProfile profile, int destroyStage, float animateTicks)