Regions - ScotticlesTV/MC_Engine GitHub Wiki
Overview
Regions are custom areas centered around a set position with a radius that defines the region borders with enter and exit events that let you set custom command reactions to those events.
Radial Regions
A region based around a single point with a radius, forming a sphere for the region shape.
Region Name:
The name of the Region shown in the Region editor.
- Set via a text input.
- Can be any string of numbers/letters.
Region Enabled:
Whether or not the Region Commands and
- Toggleable via a checkbox.
- Can be True or False.
Region Position:
The Region’s location.
- Set via 3 separate X, Y, and Z inputs.
- Must be whole numbers.
Region Radius:
The radius/size of the region based around the region position.
- Set via a text input that takes any positive whole number.
Enter Commands:
A list of commands that run when a player enters the region radius.
- Set via a text input.
- Can be any chat-executable command from vanilla Minecraft or added by another loaded mod.
Exit Commands:
A list of commands that run when a player exits the region radius.
- Set via a text input.
- Can be any chat-executable command from vanilla Minecraft or added by another loaded mod.
Region Sound:
The sound that plays when a player enters the region radius.
- Set via a text input.
- Can be any vanilla sound, a sound added by a resource pack, or any sound added by another loaded mod.
Region Sound Volume:
The volume of the Region Sound.
- Set via a text input.
- Can be any float.
Region Sound Fade Duration:
The time it takes for the Region Sound to fade out when a player leaves the Region.
- Set via a text input.
- Can be any float.
Linear Regions
A regions based around 2 corner points, forming a rectangle for the region shape.
Region Name:
The name of the Region shown in the Region editor.
- Set via a text input.
- Can be any string of numbers/letters.
Region Enabled:
Whether or not the Region Commands and
- Toggleable via a checkbox.
- Can be True or False.
Region Position 1:
The Region’s 1st location.
- Set via 3 separate X, Y, and Z inputs.
- Must be whole numbers.
Region Position 2:
The Region’s 2nd location.
- Set via 3 separate X, Y, and Z inputs.
- Must be whole numbers.
Region Radius:
The radius/size of the region based around the region position.
- Set via a text input that takes any positive whole number.
Enter Commands:
A list of commands that run when a player enters the region radius.
- Set via a text input.
- Can be any chat-executable command from vanilla Minecraft or added by another loaded mod.
Exit Commands:
A list of commands that run when a player exits the region radius.
- Set via a text input.
- Can be any chat-executable command from vanilla Minecraft or added by another loaded mod.
Region Sound:
The sound that plays when a player enters the region radius.
- Set via a text input.
- Can be any vanilla sound, a sound added by a resource pack, or any sound added by another loaded mod.
Region Sound Volume:
The volume of the Region Sound.
- Set via a text input.
- Can be any float.
Region Sound Fade Duration:
The time it takes for the Region Sound to fade out when a player leaves the Region.
- Set via a text input.
- Can be any float.