BattleGround WorldBorder
本模组实现了 Minecraft 中 Battlegrounds 的**蓝区(Blue Zone)**系统。
它提供了一个可配置的缩圈系统,可用于大逃杀、PvP、小游戏和自定义地图。
注意:蓝区对单人地图同样生效(bug)
功能
- 可配置的蓝区
- 自定义区域中心
- 平滑改变区域半径
- 安排多个区域阶段
- 对区域外玩家造成伤害
- 随时启用或禁用区域
- 支持最多 100 个预定阶段
- 适用于自定义地图和多玩家服务器
命令
/zone center <x> <z> - 设置蓝区的中心点。
示例:/zone center 0 0
/zone damage <damage> - 设置蓝区外玩家受到的伤害值。
示例:/zone damage 5
这会对区域外的玩家造成每秒 5 点伤害。
/zone disable - 禁用蓝区。
禁用期间,区域不会推进,玩家也不会受到区域伤害。
/zone enable - 启用蓝区。
/zone reset - 重置所有预定的蓝区阶段。
/zone set <radius> <seconds> - 在指定时间内改变蓝区半径。
示例:/zone set 50 30
区域会在 30 秒内平滑收缩或扩张至 50 格半径。
/zone setnext <stage> <radius> <changeTime> <waitTime> - 预定一个蓝区阶段。
示例:
- /zone setnext 1 500 30 300
- /zone setnext 2 200 50 200
在此示例中:
- 区域等待 300 秒。
- 区域在 30 秒内变为 500 格半径。
- 随后区域等待 200 秒。
- 区域在 50 秒内变为 200 格半径。
<stage> 的值可以设置为 1 到 100。
大逃杀设置示例
你可以创建如下简单的缩圈序列:
- /zone enable
- /zone center 0 0
- /zone damage 5
- /zone setnext 1 500 30 300
- /zone setnext 2 300 45 240
- /zone setnext 3 150 60 180
- /zone setnext 4 50 45 120
这将创建一个逐渐缩小的蓝区阶段序列。
要求
- Minecraft 1.21.1
- NeoForge 21.1.x
致谢
模组制作协助:ChatGPT
BattleGround WorldBorder
This mod implements the Blue Zone system from Battlegrounds in Minecraft.
It provides a configurable shrinking zone system that can be used for battle royale, PvP, minigames, and custom maps.
Note: Blue Zone applies equally to all single-player maps (bug)
Features
- Configurable Blue Zone
- Custom zone center
- Smoothly change the zone radius
- Schedule multiple zone stages
- Damage players outside the zone
- Enable or disable the zone at any time
- Supports up to 100 scheduled stages
- Works on custom maps and multiplayer servers
Commands
/zone center <x> <z> - Sets the center of the Blue Zone.
Example: /zone center 0 0
/zone damage <damage> - Sets the damage dealt to players outside the Blue Zone.
Example: /zone damage 5
This deals 5 damage every second to players outside the zone.
/zone disable - Disables the Blue Zone.
While disabled, the zone does not progress and players do not take zone damage.
/zone enable - Enables the Blue Zone.
/zone reset - Resets all scheduled Blue Zone stages.
/zone set <radius> <seconds> - Changes the Blue Zone radius over a specified amount of time.
Example: /zone set 50 30
The zone smoothly shrinks or expands to a radius of 50 blocks over 30 seconds.
/zone setnext <stage> <radius> <changeTime> <waitTime> - Schedules a Blue Zone stage.
Example:
- /zone setnext 1 500 30 300
- /zone setnext 2 200 50 200
In this example:
- The zone waits 300 seconds.
- The zone changes to a radius of 500 blocks over 30 seconds.
- The zone then waits 200 seconds.
- The zone changes to a radius of 200 blocks over 50 seconds.
The <stage> value can be set from 1 to 100.
Example Battle Royale Setup
You can create a simple shrinking-zone sequence like this:
- /zone enable
- /zone center 0 0
- /zone damage 5
- /zone setnext 1 500 30 300
- /zone setnext 2 300 45 240
- /zone setnext 3 150 60 180
- /zone setnext 4 50 45 120
This creates a sequence of progressively smaller Blue Zone stages.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1.x
Credits
Mod creation assistance: ChatGPT
评论 0
登录后参与评分
还没有评论,来抢沙发吧