Map Zones 图标

Map Zones

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.0.5+1.20.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/map-zones
资源信息

Minecraft 版本: 1.20.1

平台: quilt

标签: management utility

资源介绍

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...
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
[MTR] MI09 (RER A)

价格:0 墨喵币
下载量:0

查看详情
Don't Animate!

价格:0 墨喵币
下载量:0

查看详情
Create Aeronautics - Türkçe Çeviri

价格:0 墨喵币
下载量:0

查看详情
HealthScale

价格:0 墨喵币
下载量:0

查看详情