Rapid-Fire Frost Sentry

Turn a snow golem into a rapid-fire ice turret on a glowing pedestal that locks onto nearby monsters and blasts them with continuous frost beams.

Java EditionMobs & PetsEasy24 commandsTested on a real 26.2 & 26.3 server
A glowing snow golem turret on an ice platform shoots blue frost particles at surrounding zombies. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsIceCyanBlueWhitePvPAdventure MapMini-gameParticlesScoreboard timersExecute chainsSummoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands

Normal snow golems throw slow snowballs that barely push monsters back. The Rapid-Fire Frost Sentry turns a single snow golem into a glowing ice turret perched on a blue and packed ice pedestal surrounded by swirling snowflakes and soul flames.

It automatically locks onto the nearest monster and fires a continuous stream of homing cyan ice bolts that shatter on impact and freeze enemies in place.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_life dummy
  3. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:packed_ice
  4. /setblock ~ ~ ~ minecraft:blue_ice
  5. /setblock ~-2 ~ ~-2 minecraft:soul_lantern
  6. /setblock ~2 ~ ~-2 minecraft:soul_lantern
  7. /setblock ~-2 ~ ~2 minecraft:soul_lantern
  8. /setblock ~2 ~ ~2 minecraft:soul_lantern
  9. /summon minecraft:snow_golem ~ ~1 ~ {Tags:["c9_sentry"],NoAI:1b,Invulnerable:1b,Glowing:1b,PersistenceRequired:1b,CustomName:{"text":"Frost Sentry","color":"aqua"}}
  10. /summon minecraft:marker ~ ~1 ~ {Tags:["c9_core"]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_core] c9_timer 1
  2. /scoreboard players set @e[tag=c9_core,scores={c9_timer=100..}] c9_timer 1
  3. /execute if entity @e[tag=c9_core,scores={c9_timer=1}] if entity @e[tag=c9_target] run tp @e[tag=c9_target,distance=18..] ~6 ~ ~6
  4. /execute if entity @e[tag=c9_core,scores={c9_timer=5}] run summon minecraft:husk ~7 ~ ~5 {Tags:["c9_target"],Glowing:1b,Health:18f}
  5. /execute if entity @e[tag=c9_core,scores={c9_timer=38}] run summon minecraft:husk ~-7 ~ ~6 {Tags:["c9_target"],Glowing:1b,Health:18f}
  6. /execute if entity @e[tag=c9_core,scores={c9_timer=72}] run summon minecraft:husk ~6 ~ ~-7 {Tags:["c9_target"],Glowing:1b,Health:18f}
  7. /execute as @e[tag=c9_sentry] at @s if entity @e[tag=c9_target] run tp @s ~ ~ ~ facing entity @e[tag=c9_target,sort=nearest,limit=1] eyes
  8. /execute at @e[tag=c9_sentry] run particle minecraft:snowflake ~ ~0.8 ~ 0.9 0.8 0.9 0.03 5 force
  9. /execute at @e[tag=c9_sentry] if entity @e[tag=c9_target,distance=..16] run summon minecraft:area_effect_cloud ~ ~1.3 ~ {Tags:["c9_bolt"],Duration:16,Radius:0f}
  10. /execute as @e[tag=c9_bolt] at @s if entity @e[tag=c9_target] facing entity @e[tag=c9_target,sort=nearest,limit=1] eyes run tp @s ^ ^ ^0.95
  11. /execute at @e[tag=c9_bolt] run particle minecraft:dust{color:[0.1,0.9,1.0],scale:1.5} ~ ~ ~ 0.08 0.08 0.08 0 4 force
  12. /execute at @e[tag=c9_bolt] as @e[tag=c9_target,distance=..1.8] at @s run damage @s 4 minecraft:freeze
  13. /execute at @e[tag=c9_bolt] if entity @e[tag=c9_target,distance=..1.8] run particle minecraft:soul_fire_flame ~ ~ ~ 0.35 0.35 0.35 0.08 12 force
  14. /execute as @e[tag=c9_bolt] at @s if entity @e[tag=c9_target,distance=..1.8] run kill @s

How it works

Frames from the test run

Rapid-Fire Frost Sentry - frame 1Rapid-Fire Frost Sentry - frame 2Rapid-Fire Frost Sentry - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing snow golem stands on an ice pedestal surrounded by soul lanterns and snowflake particles, firing rapid streams of cyan and blue particles at nearby glowing zombies.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand where you want the Frost Sentry pedestal to appear and run each command from the Setup list in chat.
  2. Place a line of 14 Repeating Command Blocks set to Always Active near your build.
  3. Paste one command from the Loop list into each repeating command block in order.
  4. Watch the sentry automatically lock onto incoming husks and blast them with homing cyan frost beams.
  5. When you want to remove the turret, run the cleanup commands below.

Use it with real players

To make the Frost Sentry defend your base against all hostile mobs instead of just demo husks, replace tag=c9_target in loop commands 7 through 14 with type=#minecraft:raiders or type=!minecraft:player,type=!minecraft:snow_golem,type=!minecraft:area_effect_cloud,type=!minecraft:marker,distance=..16, and omit the husk spawning commands (loop 3 to 6).

Remove it again 8 commands

  1. /kill @e[tag=c9_bolt]
  2. /kill @e[tag=c9_target]
  3. /kill @e[tag=c9_sentry]
  4. /kill @e[tag=c9_core]
  5. /fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:air
  6. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block
  7. /scoreboard objectives remove c9_timer
  8. /scoreboard objectives remove c9_life

FAQ

Why does the sentry use area effect clouds for projectiles instead of snowballs?

Area effect clouds have a built-in Duration tag so they clean themselves up automatically after 16 ticks, and they can be smoothly steered with local coordinates without gravity pulling them down.

Will the snow golem melt in warm biomes?

Because the snow golem is summoned with Invulnerable:1b, it will not take heat or rain damage in any biome.

Commands used

/damage/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides