Skip to content

EntityDrop

small_jiu edited this page May 26, 2022 · 3 revisions

Home

entity drop have 2 item method to add:

{
  "entity name":[
    {
       // the item stack
      "item" : item stack,

      // if not fount, wiil use '1' to set minCount
      "minCount": 0,

      // if not fount, wiil use item count to set maxCount
      "maxCount" : 10,

      // range: 0.001 ~ 1
      // if not fount, wiil 100% drop the item
      "dropChance" : 0.339
    },

    // the item will 100% drop the item
    // item 'minCount' and 'maxCount' will use item count
    "minecraft:stone@100@2"
  ]
}

Home

Clone this wiki locally