Item Enderman Skull
The Item Enderman Skull is the item form of the Enderman Skull block. It extends ItemBlockWithMetadata.
Registration
| Property | Value |
|---|---|
| Registration name | Inherited from blockEndermanSkull |
| Max stack size | 64 (standard for ItemBlock) |
| Creative tab | Ender IO |
Variants
Driven by SkullType enum in BlockEndermanSkull:
| Damage | Name | Show Eyes |
|---|---|---|
| 0 | (varies by SkullType) | true/false |
| 1+ | (varies by SkullType) | true/false |
getSubItems filters out variants where showEyes is true, only showing variants without glowing eyes in the creative inventory.
Behavior
getUnlocalizedNamedynamically returns"tile.blockEndermanSkull.<SkullType.name>"based on damage value- Damage value clamped to
[0, SkullType.values().length - 1]
第三方集成
| 集成 Mod | 集成类型 | 功能 |
|---|---|---|
| Waila | 工具提示 | Waila HUD 信息显示 |
| Thaumcraft | 要素注册 | 物品要素标签 |