Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iron golems can drop iron ingots #595

Closed
Discord-Github-Bridge opened this issue Mar 30, 2024 · 1 comment
Closed

iron golems can drop iron ingots #595

Discord-Github-Bridge opened this issue Mar 30, 2024 · 1 comment

Comments

@Discord-Github-Bridge
Copy link
Collaborator

genericname0144 on Discord says

obvious title is obvious

@Yarden-zamir
Copy link
Member

Yarden-zamir commented Mar 31, 2024

I expect this should be enough, but can't test it. If someone can give it a go and tell me if its good that'l be great

# loot.js
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")
  }); 
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants