diff --git a/paper-server/patches/resources/data/minecraft/loot_table/entities/elder_guardian.json.patch b/paper-server/patches/resources/data/minecraft/loot_table/entities/elder_guardian.json.patch new file mode 100644 index 000000000000..9c12f372df40 --- /dev/null +++ b/paper-server/patches/resources/data/minecraft/loot_table/entities/elder_guardian.json.patch @@ -0,0 +1,143 @@ +--- a/data/minecraft/loot_table/entities/elder_guardian.json ++++ b/data/minecraft/loot_table/entities/elder_guardian.json +@@ -142,46 +_,100 @@ + ], + "entries": [ + { +- "type": "minecraft:loot_table", +- "functions": [ +- { +- "conditions": [ +- { +- "condition": "minecraft:any_of", +- "terms": [ +- { +- "condition": "minecraft:entity_properties", +- "entity": "this", +- "predicate": { +- "flags": { +- "is_on_fire": true +- } +- } +- }, +- { +- "condition": "minecraft:entity_properties", +- "entity": "direct_attacker", +- "predicate": { +- "equipment": { +- "mainhand": { +- "predicates": { +- "minecraft:enchantments": [ +- { +- "enchantments": "#minecraft:smelts_loot" +- } +- ] +- } +- } +- } +- } +- } +- ] +- } +- ], +- "function": "minecraft:furnace_smelt" +- } +- ], +- "value": "minecraft:gameplay/fishing/fish" ++ "type": "minecraft:item", ++ "functions": [ ++ { ++ "conditions": [ ++ { ++ "condition": "minecraft:any_of", ++ "terms": [ ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "this", ++ "predicate": { ++ "flags": { ++ "is_on_fire": true ++ } ++ } ++ }, ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "direct_attacker", ++ "predicate": { ++ "equipment": { ++ "mainhand": { ++ "predicates": { ++ "minecraft:enchantments": [ ++ { ++ "enchantments": "#minecraft:smelts_loot" ++ } ++ ] ++ } ++ } ++ } ++ } ++ } ++ ] ++ } ++ ], ++ "function": "minecraft:furnace_smelt" ++ } ++ ], ++ "name": "minecraft:cod", ++ "weight": 60 ++ }, ++ { ++ "type": "minecraft:item", ++ "functions": [ ++ { ++ "conditions": [ ++ { ++ "condition": "minecraft:any_of", ++ "terms": [ ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "this", ++ "predicate": { ++ "flags": { ++ "is_on_fire": true ++ } ++ } ++ }, ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "direct_attacker", ++ "predicate": { ++ "equipment": { ++ "mainhand": { ++ "predicates": { ++ "minecraft:enchantments": [ ++ { ++ "enchantments": "#minecraft:smelts_loot" ++ } ++ ] ++ } ++ } ++ } ++ } ++ } ++ ] ++ } ++ ], ++ "function": "minecraft:furnace_smelt" ++ } ++ ], ++ "name": "minecraft:salmon", ++ "weight": 25 ++ }, ++ { ++ "type": "minecraft:item", ++ "name": "minecraft:tropical_fish", ++ "weight": 2 ++ }, ++ { ++ "type": "minecraft:item", ++ "name": "minecraft:pufferfish", ++ "weight": 13 + } + ], + "rolls": 1.0 diff --git a/paper-server/patches/resources/data/minecraft/loot_table/entities/guardian.json.patch b/paper-server/patches/resources/data/minecraft/loot_table/entities/guardian.json.patch new file mode 100644 index 000000000000..2358e07c0fcf --- /dev/null +++ b/paper-server/patches/resources/data/minecraft/loot_table/entities/guardian.json.patch @@ -0,0 +1,143 @@ +--- a/data/minecraft/loot_table/entities/guardian.json ++++ b/data/minecraft/loot_table/entities/guardian.json +@@ -127,46 +_,100 @@ + ], + "entries": [ + { +- "type": "minecraft:loot_table", +- "functions": [ +- { +- "conditions": [ +- { +- "condition": "minecraft:any_of", +- "terms": [ +- { +- "condition": "minecraft:entity_properties", +- "entity": "this", +- "predicate": { +- "flags": { +- "is_on_fire": true +- } +- } +- }, +- { +- "condition": "minecraft:entity_properties", +- "entity": "direct_attacker", +- "predicate": { +- "equipment": { +- "mainhand": { +- "predicates": { +- "minecraft:enchantments": [ +- { +- "enchantments": "#minecraft:smelts_loot" +- } +- ] +- } +- } +- } +- } +- } +- ] +- } +- ], +- "function": "minecraft:furnace_smelt" +- } +- ], +- "value": "minecraft:gameplay/fishing/fish" ++ "type": "minecraft:item", ++ "functions": [ ++ { ++ "conditions": [ ++ { ++ "condition": "minecraft:any_of", ++ "terms": [ ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "this", ++ "predicate": { ++ "flags": { ++ "is_on_fire": true ++ } ++ } ++ }, ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "direct_attacker", ++ "predicate": { ++ "equipment": { ++ "mainhand": { ++ "predicates": { ++ "minecraft:enchantments": [ ++ { ++ "enchantments": "#minecraft:smelts_loot" ++ } ++ ] ++ } ++ } ++ } ++ } ++ } ++ ] ++ } ++ ], ++ "function": "minecraft:furnace_smelt" ++ } ++ ], ++ "name": "minecraft:cod", ++ "weight": 60 ++ }, ++ { ++ "type": "minecraft:item", ++ "functions": [ ++ { ++ "conditions": [ ++ { ++ "condition": "minecraft:any_of", ++ "terms": [ ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "this", ++ "predicate": { ++ "flags": { ++ "is_on_fire": true ++ } ++ } ++ }, ++ { ++ "condition": "minecraft:entity_properties", ++ "entity": "direct_attacker", ++ "predicate": { ++ "equipment": { ++ "mainhand": { ++ "predicates": { ++ "minecraft:enchantments": [ ++ { ++ "enchantments": "#minecraft:smelts_loot" ++ } ++ ] ++ } ++ } ++ } ++ } ++ } ++ ] ++ } ++ ], ++ "function": "minecraft:furnace_smelt" ++ } ++ ], ++ "name": "minecraft:salmon", ++ "weight": 25 ++ }, ++ { ++ "type": "minecraft:item", ++ "name": "minecraft:tropical_fish", ++ "weight": 2 ++ }, ++ { ++ "type": "minecraft:item", ++ "name": "minecraft:pufferfish", ++ "weight": 13 + } + ], + "rolls": 1.0