aboutsummaryrefslogtreecommitdiff
path: root/data/minecraft/loot_tables/entities/magma_cube.json
diff options
context:
space:
mode:
Diffstat (limited to 'data/minecraft/loot_tables/entities/magma_cube.json')
-rw-r--r--data/minecraft/loot_tables/entities/magma_cube.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/data/minecraft/loot_tables/entities/magma_cube.json b/data/minecraft/loot_tables/entities/magma_cube.json
new file mode 100644
index 0000000..7429c83
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/magma_cube.json
@@ -0,0 +1,50 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": -2.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:magma_cream"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:ancient_debris"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ },
+ {
+ "condition": "minecraft:random_chance_with_looting",
+ "chance": 0.015,
+ "looting_multiplier": 0.01
+ }
+ ]
+ }
+ ]
+}