Get the files on 9Minecraft
The extraData section allows for precise control over entity variants (such as baby animals, colored sheep, or Wither Skeletons) by checking the entity's Data Watcher values.
Data Types
Each bit of extra data requires a type, an id, and a value. The id must be an integer between 0 and 31.
| Type ID | Value Type | Format Example |
|---|---|---|
| 0 | Byte | 0 |
| 1 | Short | 1 |
| 2 | Integer | 2 |
| 3 | Float | 1.5 |
| 4 | String | "CustomName" |
| 5 | ItemStack | "minecraft:wool:14" |
| 6 | BlockPos | "89;-200;420" |
| 7 | Rotations | "0;90;0" |
Special Formats
- ItemStack (Type 5): Requires the full mod ID and metadata. Example:
"minecraft:wool:14"for Red Wool. - BlockPos & Rotations (Type 6 & 7): Coordinates or rotation values must be enclosed in quotes and separated by semicolons (
;).













