[PATCH botania v2] Add pilgin head to elementium axe loot
Export this patch
---
.../loot_tables/elementium_axe_beheading.json | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
Fixed formatting
diff --git a/Xplat/src/main/resources/data/botania/loot_tables/elementium_axe_beheading.json b/Xplat/src/main/resources/data/botania/loot_tables/elementium_axe_beheading.json
index 2335e38aa..5b784e1bc 100644
--- a/Xplat/src/main/resources/data/botania/loot_tables/elementium_axe_beheading.json
+++ b/Xplat/src/main/resources/data/botania/loot_tables/elementium_axe_beheading.json
@@ -146,6 +146,54 @@
}
]
},
+ {
+ "rolls": 1,
+ "conditions": [
+ {
+ "condition": "entity_properties",
+ "entity": "killer_player",
+ "predicate": {
+ "equipment": {
+ "mainhand": {
+ "items": [
+ "botania:elementium_axe"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "condition": "any_of",
+ "terms": [
+ {
+ "condition": "entity_properties",
+ "entity": "this",
+ "predicate": {
+ "type": "minecraft:piglin"
+ }
+ },
+ {
+ "condition": "entity_properties",
+ "entity": "this",
+ "predicate": {
+ "type": "minecraft:piglin_brute"
+ }
+ }
+ ]
+ },
+ {
+ "condition": "random_chance_with_looting",
+ "chance": 0.0769,
+ "looting_multiplier": 0.0769
+ }
+ ],
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:piglin_head"
+ }
+ ]
+ },
{
"rolls": 1,
"conditions": [
--
2.34.1
botania/patches/linux.yml: SUCCESS in 20m32s
[ Add pilgin head to elementium axe loot][0] v2 from [Adarsh][1]
[0]: https://lists.sr.ht/~williewillus/violet-moon/patches/46699
[1]: mailto:actuallyadarsh@gmail.com
✓ #1094031 SUCCESS botania/patches/linux.yml https://builds.sr.ht/~williewillus/job/1094031