I need a iron golem spawner for my iron farm. Is there a command(setblock or give) to give me a mob spawner that spawns iron golems?

  • 2
    Possible duplicate of How do I use an NBT editor to modify item properties? – pppery Oct 30 '20 at 20:52
  • I disagree that either of those questions are relevant. By my reading of the question, the user only wants to get the item once, not through the action of a command block run multiple times. – pppery Oct 31 '20 at 4:09
  • Unless I'm reading this wrong, neither of your suggestions work here @ExpertCoder14 -- they both rely on the player already having access to such a block that they can then copy or clone. – Schism Nov 3 '20 at 16:56
  • @Schism I stand corrected—my previous comment was based off the incorrect assumption that a spawn egg exists for iron golems. They don’t. – ExpertCoder14 Nov 3 '20 at 18:42
  • @pppery But I disagree that this is a duplicate anyway: the post for modifying item data with an NBT editor does not have instructions for changing spawner data. Voting to reopen. – ExpertCoder14 Nov 3 '20 at 18:43

This is not achievable in Minecraft Bedrock Edition in-game.
If you're using Windows 10 and willing to use third-party software you can check out using an NBT Editor to modify item properties and use those skills to modify the spawner if you put it in the chest.

  • The give command does not work properly it just gives the player a pig spawner. – Liam22840 Oct 30 '20 at 7:45
  • Is this for Minecraft Pocket Edition? – user260555 Oct 30 '20 at 11:57
  • I can also use a command block – user260555 Oct 30 '20 at 12:03
  • @user260555 i'm super smart and thought this was java, read the edited answer – Penguin Oct 30 '20 at 14:42

If you are playing on Java Edition, you can use this useful site right here. It's a Monster Spawner Generator that generates command for the spawner that you need, with some spesific details if you want. But if you are playing on Bedrock Edition, sorry, I don't think there's any command to that.

Not the answer you're looking for? Browse other questions tagged or ask your own question.