Guardian icon

Guardian Summon Command Generator

  • Category: aquatic
  • Baby variant: no
  • Entity id: minecraft:guardian

Guardians are the ocean monument's rank-and-file: a swimming turret with a charge-up laser, retractable spikes, and a single eye that tracks targets through open water. As a summon target they answer one specific map-making question — how do you make a body of water dangerous? One guardian per pool turns a flooded corridor, castle moat, or diving shaft into contested space without a single piece of redstone.

The laser defines the encounter. It locks on within about 15 blocks, charges over a couple of seconds while the beam shifts color, and lands its damage as a single hit at the end — and because it is not a projectile, shields do nothing against it. Breaking line of sight during the charge resets the attack, so pillars and half-walls matter far more than armor in a guardian gauntlet.

The fields cover turret duty and décor alike: customHealth stretches the thin 30-point default so a sentry survives more than one bow volley, silent deletes the zap-and-squeak audio that telegraphs an ambush pool, and a minecart vehicle holds one steady on dry land where it would otherwise flop toward water. The prismarine shard drops even give survival-adjacent maps a farmable currency.

Example commands

Moat sentry

/summon minecraft:guardian ~ ~ ~ {CustomName:"Moat Sentry",Health:60f,attributes:[{id:"minecraft:max_health",base:60}]}

60 health doubles the default so the turret outlasts an opening volley; melee divers still get jabbed by the spike reflex, so the moat punishes both approaches.

Ambush pool

/summon minecraft:guardian ~ ~ ~ {Silent:1b,PersistenceRequired:1b}

silent removes the beam zap and squeaking that normally telegraph the trap; persistent stops the pool going empty while players spend an hour elsewhere in the map.

Aquarium showpiece

/summon minecraft:guardian ~ ~ ~ {NoAI:1b,NoGravity:1b,Invulnerable:1b,CustomName:"Monument Relic"}

no_ai stops the wandering, no_gravity keeps it hovering mid-tank instead of settling to the glass floor, and invulnerable protects the exhibit from visitors with tridents.

Dry-land turret cart

/summon minecraft:minecart ~ ~ ~ {Passengers:[{id:"minecraft:guardian"}]}

the minecart pins the guardian in place on land, where it would otherwise flop toward the nearest water; behind iron bars it reads as monument-flavored set dressing or a captured specimen.

The same build across versions

Rows appear only where the output actually changes -- copy the one that matches your world.

Java 1.16

/summon minecraft:guardian ~ ~ ~ {NoAI:1b,NoGravity:1b,Invulnerable:1b,CustomName:'{"text":"Monument Relic"}'}

Java 26.2

/summon minecraft:guardian ~ ~ ~ {NoAI:1b,NoGravity:1b,Invulnerable:1b,CustomName:"Monument Relic"}

Bedrock 26.x

/summon minecraft:guardian "Monument Relic" ~ ~ ~
  • Bedrock /summon does not accept Java entity NBT; omitted traits (no_ai, no_gravity, invulnerable).

Worth knowing

  • The beam cannot be blocked by a shield and is not a projectile — its damage lands in one hit when the charge finishes, not gradually during the beam.
  • Spikes extend and retract on a cycle, and melee hits landed while they are out deal recoil damage to the attacker, much like the Thorns enchantment.
  • Guardians attack squid as well as players, so a guardian sharing a tank with squid fires periodically with no player input — useful for ambient monument scenery.
  • Out of water they flop toward the nearest pool they can reach but take no drying damage, so a land-stranded guardian is an inconvenience for it, not a death sentence.
  • Drops include prismarine shards, prismarine crystals, and raw cod, making summoned guardians a viable loot faucet for survival-flavored maps.

FAQ

Why isn't my guardian attacking?

It fights properly only while submerged — on land it flops and prioritizes finding water. Check the pool is deep enough to cover it and that targets sit within roughly 15 blocks with clear line of sight.

Can a guardian survive outside water?

Indefinitely — guardians take no drying-out damage — but it hops toward any water it can sense instead of holding position. A minecart, boat, or enclosed one-block pool keeps a land installation where you put it.

How strong is the guardian laser?

It deals a solid single hit that scales with difficulty and ignores shields entirely. The real pressure is the forced timing: break line of sight during the charge or take the hit.