All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Map Zones

Map Zones

by anonymous123-code • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Overview

Adds Zones which can execute commands when an Entity enters, leaves, or is in one.

There are 3 events available:

  • On Enter: Executed once when the entity entered the Zone
  • On Tick: Executed every tick the entity is in the Zone
  • On Leave: Executed when a entity which was in a Zone the tick before isn't in it anymore

Usage

Use the Zone Corner to specify or edit the corners of a Zone and use a Zone Wrench to then delete it or configure the commands executed on each event. The commands are executed as the entity who triggered the event. The items can be found in the Operator creative tab and provide tooltips with descriptions

Dependencies

  • owo-lib
  • Quilted Fabric Api
  • Lucko's fabric-permission-api (Embedded)

Technical stuff

The mod uses tags to store the zones an entity is in. The tag format is incompatible with the vanilla command syntax, this means that those tags cant be removed using commands

It is considered a bug if the following stuff is violated, as long as the Zone isn't edited in between, and the tags added by the mod aren't manipulated:

  • For each enter event there has to be exactly one leave event
  • No entity can enter a zone twice without leaving in between
  • No tick events are executed after a leave
  • The leave event is always executed, even if the entity teleports across dimensions, rejoins, changes its dimensions/size...

How to Install Map Zones (Mod)

Map Zones by anonymous123-code is verified for Quilt across Minecraft versions 1.19.3, 1.20.1 (latest release: 0.0.5+1.20.1, file size: 79 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.3, 1.20.1) and platform (Quilt).
  2. Make sure you have the compatible loader or environment installed for Quilt.
  3. Move the downloaded Map Zones file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Quilt
last yr. 1
1.20.1
Quilt
last yr. 1
1.20.1
Quilt
last yr. 1
1.19.3
Quilt
last yr. 1
[0.0.5+1.20.1] 0.0.5+1.20.1 by anonymous123-code on Aug 06, 2023
Download
0.0.5+1.20.1

  • Fix a crash when running commands modifying tags
[0.0.4+1.20.1] 0.0.4+1.20.1 by anonymous123-code on Aug 04, 2023
Download
0.0.4+1.20.1

Fix creative to op level 2 command execution privilege escalation
[0.0.3+1.20.1] 0.0.3+1.20.1 by anonymous123-code on Jul 27, 2023
Download
v0.0.3+1.20.1

  • Fix creative tab
  • Update to 1.20.1
[0.0.1+1.19.3] Map Zones 0.0.1+1.19.3 by anonymous123-code on Mar 12, 2023
Download
Initial Release
Map Zones Icon
Download Map Zones
Select game version
Select platform