Skip to content
hilburn edited this page Nov 29, 2014 · 1 revision

Register Ore

  • key: "registerOre"
  • message:
  1. "ore": NBTTagCompound form of the ItemStack
  2. "distribution": IntArray form of the distribution of the ore (0F-1F) * 100,000
  3. "colour": int colour code to render the graph line. Optional (Default black)
  4. "silkTouch": boolean whether the ore needs to be silk touched. Optional (Default false)
  5. "addDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no additional drops)

Modify Ore

  • key: "modifyOre"
  • message:
  1. "ore": NBTTagCompound form of the ItemStack
  2. "addDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no additional drops)
  3. "removeDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no drops removed)

Register Mob

  • key: "registerMob"
  • message:
  1. "className": String form of the Entity class path
  2. "lightLevel": String format of LightLevel (see below). Optional (default any)
  3. "biomes": NBTTagList of Strings indicating the limitations of where the mob can spawn. Optional (Default anywhere)
  4. "dropItems": NBTTagList of NBTTagCompound formatted DropItems (see below). Optional (Default no drops)

Modify Mob

  • key: "modifyMob"
  • message:
  1. "className": String path of the class to test against
  2. "strict": boolean to indicate strict matching - true for entity.getClass==className, false for entity instanceof className - Optional (default false)
  3. "wither": boolean to indicate if it should be applied to normal skeletons or wither skeletons - Optional (default false)
  4. "dropItems": NBTTagList of NBTTagCompound formatted DropItems (see below). Optional (Default no drops)
  5. "removeDrops": NBTTagList of NBTTagCompound ItemStacks. Optional (Default no drops removed)

Light Level format

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.

DropItem format

  • "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)

Clone this wiki locally