Skip to content

Commit

Permalink
Added loot fix for iron golem, switch iron ingot for iron sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
EngineerSmith committed Oct 13, 2024
1 parent 967ba96 commit 7d205c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kubejs/server_scripts/base/loot.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,11 @@ if (feature('Pillagers drop heads')) {
})

}

if (feature('Replace white ingot (iron ingot) with white plates')) {
LootJS.modifiers((event) => {
event
.addEntityLootModifier("minecraft:iron_golem")
.replaceLoot("minecraft:iron_ingot", "create:iron_sheet", true)
});
}

0 comments on commit 7d205c2

Please sign in to comment.