CreeperAlert
Shows an alert when you are near a creeper, with customisable range
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
CreeperAlert
CreeperAlert
This simple datapack shows an alert when a creeper is near, with customisable options.
How to install
Download the datapack for the correct version, and:
For servers
Put the zip in `world/datapacks`.
For singleplayer worlds
Put it in `saves/Your world name here/datapacks`
How to customise
You can customise the range of when the creeper alert activates, whether it activates at all, and whether to play a sound.
To customise range:
```mcfunction
Trigger at 8 blocks
/trigger creeper_range set 1
Trigger at 16 blocks (default)
/trigger creeper_range set 2
Trigger at 32 blocks
/trigger creeper_range set 3
Disable the alert
/trigger creeper_range set 4 ```
To customise whether a sound plays:
```mcfunction
Play a sound (default)
/trigger creeper_sound set 1
Disable the sound
/trigger creeper_sound set 2 ```
All these settings are player-specific.