Dispenser Loot Tables update

- Added Splash Potions, Tipped Arrows, Snow Balls and Spectral Arrows to the Dispenser loot table(s)

UNTESTED

Todo: add EnderMite and SilverFish eggs to these loot tables as well?
This commit is contained in:
Robijnvogel 2018-01-22 00:06:11 +01:00
parent aedc6216fd
commit edb4497e1e
3 changed files with 1879 additions and 11 deletions

File diff suppressed because it is too large Load diff

View file

@ -37,17 +37,7 @@
}, },
{ {
"type": "item", "type": "item",
"name": "minecraft:water_bucket", "name": "minecraft:spectral_arrow",
"weight": 5
},
{
"type": "item",
"name": "minecraft:lava_bucket",
"weight": 2
},
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [ "functions": [
{ {
"function": "set_count", "function": "set_count",
@ -57,6 +47,40 @@
} }
} }
], ],
"weight": 1
},
{
"type": "item",
"name": "minecraft:snowball",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 16
}
}
],
"weight": 10
},
{
"type": "item",
"name": "minecraft:water_bucket",
"weight": 5
},
{
"type": "item",
"name": "minecraft:lava_bucket",
"weight": 2
},
{
"type": "loot_table",
"name": "dimdoors:dispenser_splash_potions",
"weight": 15
},
{
"type": "loot_table",
"name": "dimdoors:dispenser_potion_arrows",
"weight": 15 "weight": 15
} }
] ]

View file

@ -0,0 +1,796 @@
{
"pools": [
{
"name": "water",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:water\"}"
}
],
"weight": 4
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "mundane",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:mundane\"}"
}
],
"weight": 4
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "thick",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:thick\"}"
}
],
"weight": 4
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "awkward",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:awkward\"}"
}
],
"weight": 4
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "night_vision",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:night_vision\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "night_vision_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_night_vision\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "invisibility",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:invisibility\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "invisibility_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_invisibility\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "leaping",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:leaping\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "leaping_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_leaping\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "leaping_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_leaping\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "fire_resistance",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:fire_resistance\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "fire_resistance_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_fire_resistance\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "swiftness",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:swiftness\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "swiftness_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_swiftness\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "swiftness_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_swiftness\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "slowness",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:slowness\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "slowness_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_slowness\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "water_breathing",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:water_breathing\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "water_breathing_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_water_breathing\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "healing",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:healing\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "healing_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_healing\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "harming",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:harming\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "harming_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_harming\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "poison",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:poison\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "poison_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_poison\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "poison_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_poison\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "regeneration",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:regeneration\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "regeneration_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_regeneration\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "regeneration_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_regeneration\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "strength",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strength\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "strength_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_strength\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "strength_II",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:strong_strength\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "weakness",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:weakness\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "weakness_long",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:long_weakness\"}"
}
],
"weight": 1
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
},
{
"name": "luck",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:splash_potion",
"functions": [
{
"function": "set_nbt",
"tag": "{Potion: \"minecraft:luck\"}"
}
],
"weight": 3
},
{
"type": "empty",
"name": "minecraft:air",
"weight": 25
}
]
}
]
}