Mob Jar

Right-click to capture mobs.

Mob Jar

Introduction

Put mobs in a jar.

  • Right-click a mob to capture it into a jar together with its data; the original entity is removed.
  • The jar can be placed as a block, and the mob can be released back into the world at any time.
  • A captured mob is rendered live inside the jar — visible in the inventory, on the ground, and in a placed jar.

Features

Mob Jar

  • Hold an empty Mob Jar and right-click any non-player mob to capture it.
  • The mob's entire NBT data is written to the item — health, equipment, trades, variant, baby state, custom name, and more.
  • On a successful capture the original entity is removed and the jar becomes filled.
  • The item name shows the mob inside and follows the client language in real time; mobs renamed with a name tag display their custom name first.
  • Variant and baby state are shown in the name, the tooltip, and Jade.
  • Mob Jars and Growth Jars can be placed directly in water; fluid poured in with a bucket goes into the jar's internal tank instead of turning the block into a water source.
  • A jar holds up to 1000 mB of fluid and exposes fluid capabilities both as a block and as an item; right-click with a bucket to fill or drain it.
  • Fluid is rendered inside the jar at its fill level, visible both as a placed block and in the inventory.
  • Aquatic mobs in #mob_jar:aquatic_entity can only be captured when the jar contains at least 1 mB of water; other fluids do not count as water.
  • Fluid data persists through the item, block drops, and placement.

Mob Growth Jar

  • Same mechanics as the Mob Jar, but it only accepts baby mobs, and by default only passive mobs.
  • After capture the mob grows up over the configured time (10 minutes by default). The timer only runs while the jar is placed; it pauses while the jar sits in an inventory.

Placing and Releasing

  • Filled jar + sneak + right-click a block: places the jar as a block and keeps the mob data; this also takes priority over opening containers and other interactive blocks such as chests.
  • Filled jar + right-click a block: releases the mob at the clicked position and empties the jar.
  • Empty jar + right-click a block: does nothing, so a missed capture doesn't place the jar by accident.
  • Empty jar + sneak + right-click a block: places an empty jar.
  • Breaking a placed jar: drops a jar carrying the mob data.

Comparator

  • An empty jar outputs a signal of 0.
  • With a mob inside, it outputs a redstone signal of 1–15 based on the mob's max health.
  • Higher health means a stronger signal, and the jar never needs to tick.

Mob Jar Interactions

  • Villager jar: right-click with a workstation item to put it into the jar; right-click empty-handed to open the vanilla villager trading screen; sneak + right-click empty-handed to take the workstation back out. Villagers that have never traded can change profession; villagers that have traded keep their profession locked. Restocking follows the vanilla path.
  • Wandering trader jar: right-click empty-handed to open the trading screen. The despawn timer only starts once the jar is placed and pauses while it is in an inventory. 10 minutes by default and configurable; when the timer runs out the wandering trader simply disappears from the jar, the jar becomes empty, and no entity is spawned in the world.
  • Allay jar: right-click a jar holding an allay with an item to store that item as a filter. Every 10 ticks the jar scans a 3×3×3 area around itself and sends matching item entities into the container adjacent in the configured direction. Right-click with an amethyst block to widen the radius by half a block (3 → 4 → … → 9), up to 9×9×9; Jade shows the current range.
  • Armadillo jar: right-click with a brush to get 1 armadillo scute at the cost of brush durability, then enter a 10-minute cooldown. Baby armadillos cannot be brushed. Feeding #mob_jar:cdr_armadillo (spider eye by default) shortens the remaining cooldown by 10%.
  • Bat jar: right-click empty-handed for 1 minute of Night Vision, 3-minute cooldown.
  • Rabbit jar: right-click empty-handed for 1 minute of Jump Boost and a 5% chance of a rabbit's foot, 3-minute cooldown. Feeding #mob_jar:cdr_rabbit (carrot by default) shortens the remaining cooldown by 10%.
  • Dolphin jar: right-click empty-handed for 1 minute of Dolphin's Grace, 5-minute cooldown.
  • Axolotl jar: right-click empty-handed for 1 minute of Water Breathing, 5-minute cooldown; feeding #mob_jar:cdr_axolotl (tropical fish by default) shortens the remaining cooldown by 10%. While placed in water it clears Mining Fatigue from mobs in a 5×5×5 area every second and has a 25% chance to grant Regeneration I for 5 seconds.
  • Snow golem jar: right-click empty-handed for 1–2 snowballs, 3-minute cooldown. When placed on a block in #mob_jar:snow_golem_attack_target (ice and snow blocks by default) it throws snowballs at the nearest hostile mob within 10 blocks every 40 ticks.
  • Pufferfish jar: a placed pufferfish jar applies 5 seconds of Poison every 20 ticks to mobs (players included) within a 3-block radius.
  • Cow jar / mooshroom jar: right-click with an empty bucket to get a milk bucket; the mooshroom jar also gives mushroom stew when right-clicked with a bowl.
  • Squid jar / glow squid jar: right-click empty-handed for an ink sac / glow ink sac, 5-minute cooldown; feeding #mob_jar:cdr_squid (raw fish by default) shortens the remaining cooldown by 10%.
  • Turtle jar: right-click empty-handed for a turtle scute, 10-minute cooldown; feeding #mob_jar:cdr_turtle (seagrass by default) shortens the remaining cooldown by 10%.
  • Sheep jar: right-click with shears to shear 1–3 wool of the matching color, 8-minute cooldown. Right-click with any dye to change the sheep's color directly. Feeding #mob_jar:cdr_sheep (wheat by default) shortens the remaining cooldown by 10%, and the wool regrows once the cooldown ends.
  • Sniffer jar: right-click empty-handed to dig up one item from the vanilla sniffer_digging loot table, 5-minute cooldown by default; feeding #mob_jar:cdr_sniffer (torchflower seeds by default) shortens the remaining cooldown by 10%.
  • Parrot jar: once placed, it scans a 5×5×5 area every 2 seconds; hostile mobs found there receive an outline glow and nearby players are notified. This outline does not apply the vanilla Glowing effect. Right-click with #mob_jar:cdr_parrot (seeds by default) to widen the area, up to 9×9×9.
  • Bee jar: right-click empty-handed for a honeycomb, right-click with a glass bottle for a honey bottle, 10-minute cooldown; feeding #mob_jar:cdr_bee (flowers by default) shortens the remaining cooldown by 10%. Right-click with a honey bottle / honeycomb (#mob_jar:function_bee_60s / function_bee_30s) to add 60 / 30 seconds of pollination boost, up to 10 minutes; right-click with shears to cancel the boost. While placed, the jar runs an independent growth check on every crop in range each second. Range by remaining time: ≥8 min 9×5×9, ≥5 min 7×5×7, ≥3 min 5×3×5, otherwise 3×3×3; the radius is adjustable in the config.
  • Cat / ocelot jar: once placed, creepers in range actively step aside and flee the way they came, just as they do around a vanilla cat; after being scared off they remember the threat briefly and do not turn back right away. Right-click a tamed cat empty-handed for one cat gift, with a cooldown of one Minecraft day.
  • Chicken jar: right-click empty-handed for an egg, right-click with a brush for a feather, 10-minute cooldown; feeding #mob_jar:cdr_chicken (seeds by default) shortens the remaining cooldown by 10%.
  • Panda jar: only a weak panda gives a slimeball on right-click empty-handed, 5-minute cooldown; feeding #mob_jar:cdr_panda (bamboo by default) shortens the remaining cooldown by 10%.
  • Creeper jar / charged creeper jar: sneak + right-click air to start charging, then release to throw the jar; the longer you charge, the farther it flies, up to 32 blocks (configurable). On landing or impact it explodes with the force of a creeper itself, or the lightning-boosted force for the charged creeper. A charge bar is shown below the crosshair.
  • Lit TNT jar: use an empty jar on lit TNT to capture it, keeping the remaining fuse time at the moment of capture; releasing it resumes the original countdown. Sneak + right-click air to charge and release to throw. By default the jar is thrown together with the TNT and explodes instantly on landing or impact; with throwWithJar disabled, a separate TNT entity is thrown instead and explodeOnLandingWithoutJar decides whether it explodes on landing or uses the vanilla fuse. A charge bar is shown below the crosshair, and the charge parameters come from the [tnt] config section.
  • Enderman jar: sneak + right-click air to teleport to the highest standable block above the player; 10-minute cooldown, and feeding #mob_jar:cdr_enderman (chorus fruit by default) shortens the remaining cooldown by 10%.
  • Wolf jar: once placed, skeletons in range actively step aside and flee the way they came, just as they do around a vanilla wolf; after being scared off they remember the threat briefly and do not turn back right away.
  • Fox jar: right-click with an item to set it as a filter, which the fox holds in its mouth; every 200 ticks it collects matching dropped items in range. When collecting food there is a 20% chance to lose one item. The area starts at 3x3x3; right-click with #mob_jar:cdr_fox to widen it, up to 9x9x9.
  • Slime jar: right-click empty-handed for a slimeball, 5-minute cooldown.
  • Goat jar: every 100 ticks it randomly breaks one block in range from the whitelist / blacklist; 1% chance to drop a goat horn, at most two per goat. The area starts at 3x3x3; right-click with #mob_jar:cdr_goat to widen it, up to 9x9x9.
  • Frog jar: every 100 ticks it eats a small magma cube or small slime in range, producing the matching froglight or slimeball and putting it into a nearby container. The area starts at 3x3x3; right-click with #mob_jar:cdr_frog to widen it, up to 9x9x9.
  • Piglin jar: right-click with any gold item to barter; loot is produced after the vanilla piglin trade delay and goes into the container in the configured direction (up by default).
  • Zombie villager jar: insert a golden apple and then any potion of Weakness to start curing; the inserted items slowly orbit the zombie villager, and after 3 minutes by default (configurable) it turns into an unemployed villager.
  • Blaze jar: when placed under a furnace, as long as the furnace is lit and fuelled it uses stored boost time to double the furnace's smelting speed; feeding it burnable items adds time based on their burn time, up to 10 minutes by default.

Mob Jar Team

profile avatar
  • 9
    Followers
  • 40
    Projects
  • 619.5K
    Downloads

More from wither_redstoneView all