Entity loot table changes (#1035)

* trying stuff, might delete later

* updated all loot tables so looting only affects animal meat drops
This commit is contained in:
Pyritie 2025-05-18 21:11:53 +01:00 committed by GitHub
parent 054a27977b
commit 6048af8042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 496 additions and 449 deletions

View file

@ -11,11 +11,21 @@
"functions": [
{
"function": "minecraft:set_count",
"add": false,
"count": {
"min": 4,
"max": 10,
"type": "minecraft:uniform"
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
]
}
@ -34,7 +44,7 @@
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 3
"max": 6
}
}
]

View file

@ -6,27 +6,11 @@
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "ae2:ender_dust"
},
{
"type": "minecraft:item",
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
@ -45,25 +29,10 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "gtceu:raw_coal"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
},
{
"type": "minecraft:item",
"functions": [
@ -75,25 +44,10 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "gtceu:raw_goethite"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
"name": "tfc:ore/normal_magnetite"
},
{
"type": "minecraft:item",
"functions": [
@ -105,51 +59,12 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "tfc:ore/normal_native_copper"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
}
],
"random_sequence": "endermanoverhaul:entities/cave_enderman"

View file

@ -6,27 +6,11 @@
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "ae2:ender_dust"
},
{
"type": "minecraft:item",
"name": "endermanoverhaul:corrupted_pearl"
}
],
"rolls": 1.0
@ -45,18 +29,9 @@
"min": 4.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "tfc:powder/wood_ash"
"name": "tfc:soot"
}
],
"rolls": 1.0
@ -75,51 +50,12 @@
"min": 4.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:charcoal"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "endermanoverhaul:corrupted_pearl"
}
],
"rolls": 1.0
}
],
"random_sequence": "endermanoverhaul:entities/dark_oak_enderman"

View file

@ -6,27 +6,11 @@
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "ae2:ender_dust"
},
{
"type": "minecraft:item",
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
@ -41,85 +25,25 @@
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
"max": 2.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
"function": "minecraft:set_count"
}
],
"name": "minecraft:red_mushroom"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:brown_mushroom"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
"rolls": 3.0
}
],
"random_sequence": "endermanoverhaul:entities/mushroom_fields_enderman"

View file

@ -6,27 +6,11 @@
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "ae2:ender_dust"
},
{
"type": "minecraft:item",
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
@ -45,25 +29,25 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:glow_berries"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:moss_block"
},
{
"type": "minecraft:item",
"functions": [
@ -75,51 +59,12 @@
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "tfc:wood/sapling/mangrove"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "endermanoverhaul:summoner_pearl"
}
],
"rolls": 1.0
"rolls": 2.0
}
],
"random_sequence": "endermanoverhaul:entities/swamp_enderman"

View file

@ -0,0 +1,65 @@
{
"type": "minecraft:entity",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:rotten_flesh",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 2,
"min": 1,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfc:groundcover/driftwood",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 2,
"min": 0,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 1,
"min": 0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}

View file

@ -7,26 +7,6 @@
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "ae2:ender_dust"
}
]
@ -46,15 +26,6 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 2.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:chorus_fruit"

View file

@ -0,0 +1,54 @@
{
"type": "minecraft:entity",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfc:food/frog_legs",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2,
"max": 3,
"type": "minecraft:uniform"
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
]
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}

View file

@ -12,19 +12,10 @@
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
"max": 2.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:magma_cream"

View file

@ -3,7 +3,7 @@
"pools": [
{
"name": "loot_pool",
"rolls": 2,
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
@ -16,19 +16,16 @@
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:bone"
},
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
@ -40,15 +37,6 @@
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:phantom_membrane"

View file

@ -16,15 +16,6 @@
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "minecraft:bone"
@ -42,29 +33,14 @@
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 5.0,
"max": 4.0,
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "beneath:cursecoal"
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
},
{
"type": "minecraft:item",
"functions": [
@ -73,18 +49,9 @@
"count": {
"type": "minecraft:uniform",
"max": 5.0,
"min": 2.0
"min": 3.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:looting_enchant"
}
],
"name": "gtceu:rich_raw_coal"

View file

@ -0,0 +1,65 @@
{
"type": "minecraft:entity",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:rotten_flesh",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 2,
"min": 1,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:stick",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 2,
"min": 0,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"max": 1,
"min": 0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}