From 873297d2cff7d01e1b7d34297b8023dffb0f5ec9 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Thu, 11 May 2023 19:22:51 -0600 Subject: [PATCH] Make Piglin Brutes drop golden axes Instead of dropping crossbows --- mods/ENTITIES/mobs_mc/piglin.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/piglin.lua b/mods/ENTITIES/mobs_mc/piglin.lua index a4ac2c83f7..4f701b3e9d 100644 --- a/mods/ENTITIES/mobs_mc/piglin.lua +++ b/mods/ENTITIES/mobs_mc/piglin.lua @@ -370,6 +370,12 @@ piglin_brute.animation = { } piglin_brute.can_despawn = false +piglin_brute.drops = { + {name = "mcl_tools:axe_gold", + chance = 8.5, + min = 1, + max = 1,}, +} mcl_mobs.register_mob("mobs_mc:piglin_brute", piglin_brute) @@ -447,4 +453,4 @@ mcl_mobs:non_spawn_specific("mobs_mc:zombified_piglin","overworld",0,minetest.LI mcl_mobs.register_egg("mobs_mc:piglin", S("Piglin"), "#7b4a17","#d5c381", 0) mcl_mobs.register_egg("mobs_mc:piglin_brute", S("Piglin Brute"), "#562b0c","#ddc89d", 0) -mcl_mobs.register_egg("mobs_mc:zombified_piglin", S("Zombie Piglin"), "#ea9393", "#4c7129", 0) \ No newline at end of file +mcl_mobs.register_egg("mobs_mc:zombified_piglin", S("Zombie Piglin"), "#ea9393", "#4c7129", 0)