Java Code Examples for org.bukkit.SkullType#ZOMBIE
The following examples show how to use
org.bukkit.SkullType#ZOMBIE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CraftSkull.java From Kettle with GNU General Public License v3.0 | 6 votes |
static SkullType getSkullType(int id) { switch (id) { default: case 0: return SkullType.SKELETON; case 1: return SkullType.WITHER; case 2: return SkullType.ZOMBIE; case 3: return SkullType.PLAYER; case 4: return SkullType.CREEPER; case 5: return SkullType.DRAGON; } }
Example 2
Source File: CraftSkull.java From Thermos with GNU General Public License v3.0 | 6 votes |
static SkullType getSkullType(int id) { switch (id) { case 0: return SkullType.SKELETON; case 1: return SkullType.WITHER; case 2: return SkullType.ZOMBIE; case 3: return SkullType.PLAYER; case 4: return SkullType.CREEPER; default: throw new AssertionError(id); } }