-
Notifications
You must be signed in to change notification settings - Fork 18
IMC message format
hilburn edited this page Nov 29, 2014
·
1 revision
- key: "registerOre"
- message:
- "ore": NBTTagCompound form of the ItemStack
- "distribution": IntArray form of the distribution of the ore (0F-1F) * 100,000
- "colour": int colour code to render the graph line. Optional (Default black)
- "silkTouch": boolean whether the ore needs to be silk touched. Optional (Default false)
- "addDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no additional drops)
- key: "modifyOre"
- message:
- "ore": NBTTagCompound form of the ItemStack
- "addDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no additional drops)
- "removeDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no drops removed)
- key: "registerMob"
- message:
- "className": String form of the Entity class path
- "lightLevel": String format of LightLevel (see below). Optional (default any)
- "biomes": NBTTagList of Strings indicating the limitations of where the mob can spawn. Optional (Default anywhere)
- "dropItems": NBTTagList of NBTTagCompound formatted DropItems (see below). Optional (Default no drops)
- key: "modifyMob"
- message:
- "className": String path of the class to test against
- "strict": boolean to indicate strict matching - true for entity.getClass==className, false for entity instanceof className - Optional (default false)
- "wither": boolean to indicate if it should be applied to normal skeletons or wither skeletons - Optional (default false)
- "dropItems": NBTTagList of NBTTagCompound formatted DropItems (see below). Optional (Default no drops)
- "removeDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no drops removed)
0-15:a?b
a indicates it spawns above this level (eg. farm animals) b indicates it spawns below this level. Being outside the range 0-15 defaults to LightLevel.any.
- "stack": NBTTagCompound form of the ItemStack
- "min": int minimum amount dropped. Optional (default 0)
- "max": int maximum amount dropped. Optional (default 1)
- "chance": float chance of drop in the range 0F-1F. Optional (default 1F)
- "conditionals": NBTTagList of Strings with what extra data to display in the tooltip. Optional (default none)