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?
-
2Possible duplicate of How do I use an NBT editor to modify item properties?– ppperyCommented Oct 30, 2020 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.– ppperyCommented Oct 31, 2020 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.– SchismCommented Nov 3, 2020 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.– One 2 ManyCommented Nov 3, 2020 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.– One 2 ManyCommented Nov 3, 2020 at 18:43
2 Answers
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. Commented Oct 30, 2020 at 7:45
-
-
-
@user260555 i'm super smart and thought this was java, read the edited answer– PenguinCommented Oct 30, 2020 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.