Summon Bat Generator Summon Mob Generator for Java 1.17

Update 2.40, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

Minecraft Bat NBT Data Tags

Using the summon command to spawn in a minecraft bat is simple, take the command and enter into chat and presto you have a bat. Bats can not be tamed or bred. They are passive ambient mobs.

How to summon hanging Bat

The nbt data tag BatFlags:1 sets the bat into hanging mode, this only works if the bat is summoned underneath a block and the block is a regular (non-transparent) block. If the space in invalid or not the summon command, then the bat will fly off.

/summon minecraft:bat ~ ~ ~ {BatFlags:1}

To stop the bat flying away use the NoAI:1 tag, which prevents all mob movement.

/summon minecraft:bat ~ ~ ~ {BatFlags:1,NoAI:1}
Summoned Minecraft hanging bat

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

6 Aug 2026
minecraft/command-generator 2.40

addedRefactored code base internally
patchSlime and Magma cubes, added isBaby tag
patchSulfur cubes added Size, and isBaby tags

30 Jul 2026
minecraft/command-generator 2.39

addedFull Mob Generator v2 rollout
patchMob spawner command generation

23 Jul 2026
minecraft/command-generator 2.38.7

addedAll mobs with summon pages now use Mob Generator v2
patchUuid minor work in progress changes

15 Jul 2026
minecraft/command-generator 2.38.6

addedSummon cat now uses Mob Generator v2
patchTool components for block tags should not be an array
patchTrade predicate to nbt conversion on items not handling double quotes correctly
patchContainers lock tag now allow user to enter an item predicates in 1.21.2+
patchCatType handling for older version commands

9 Jul 2026
minecraft/command-generator 2.38.5

addedSummon villager, chickens and copper golems now use Mob Generator v2
patchBug in food components

2 Jul 2026
minecraft/command-generator 2.38.5

addedSummon axolotl, and summon cow pages now use Mob Generator v2
patchText editor formatting not grouping like with like

25 Jun 2026
minecraft/command-generator 2.38.4

addedSummon Generators moved to the Mob Generator v2

18 Jun 2026
minecraft/command-generator 2.38.3

addedMinecraft 26.2 content
addedWIP Beta Mob Generator v2

30 May 2026
minecraft/command-generator 2.38.2

patchGive item armor patch item detection

29 May 2026
minecraft/command-generator 2.38.1

addedpre-release 26.2 content

28 May 2026
minecraft/command-generator 2.38

addedWIP Beta Mob Generator v2


Read version history »
(120 More Updates)