-
Notifications
You must be signed in to change notification settings - Fork 421
SkullRenderer Class
The SkullRenderer class is used to render heads/skulls. The renderer specifically uses the TileEntity fields for the head orientation ('Rot') and for selecting the type of skull to render ('SkullType'). Each skull requires 6 textures - all derived from 'SKIN' type texture files (texture files containing all the surfaces of a human shaped model). To load these, the skin must be loaded using an appropriate 'texturefile:' line in the Texture Definition file - for example, for the zombie head:
texturefile:id=zombie,filename=mob/zombie.png,format=SKIN
The "block:" record tied to the custom block using the SkullRenderer needs to supply 6 texture references for each value defined for 'SkullType': patch0 to patch5 for the first index (0), patch6 to patch11 for the second (1), etc.
###Attributes None
###Patches Requiring Textures For each value of 'SkullType', consecutively from N=0 to N=highest-value:
- patch<6 x N> - Bottom of head (texture index 5 in SKIN texture)
- patch<6 x N + 1> - Top of head (texture index 4 in SKIN texture)
- patch<6 x N + 2> - Back of head (texture index 1 in SKIN texture)
- patch<6 x N + 3> - Front of head (texture index 0 in SKIN texture)
- patch<6 x N + 4> - Side of head (texture index 2 in SKIN texture)
- patch<6 x N + 5> - Side of head (texture index 3 in SKIN texture)
- Base Plugin Settings
- Web Setup
- Storage Setup
- HD Map Configuration
- World and template settings
- Guides
- Advanced Map Configuration
- Component Configuration
- Configuration of worlds
- Exporting World Data in Wavefront OBJ Format
- External Webserver Advanced
- Support for Minecraft Servers other than CraftBukkit
- Support for MinecraftForge based mods
- Support for Tekkit
- Custom Block Definitions
- Model Definition Files
- Texture Definition Files
- Defining a Block using a Custom Block Renderer
- Defining a Block using a Volumetric Model
- Defining a Cuboid Block
- Defining a Simple Block
- Defining Cuboid Models
- Defining Volumetric Models
- Special texture file types
- Using custom block renderers
- Incompatible mods