Advanced Anti Creeper
来自苦力怕的防护——多种模式可选
苦力怕的爆炸往往令人倍感挫败。它们不仅会破坏优美的自然景观,还可能摧毁耗时耗资巨大的建筑作品。本模组提供了解决方案,而且不止一种。
- 你可以选择阻止所有苦力怕爆炸破坏方块。这是最简单直接的解决方式。
- 当然,如果你只想保护特定区域免受苦力怕爆炸影响,也可以实现。只需选中该区域的两个最外侧方块,让模组生成圆形或矩形保护区即可。你可以自定义任意数量的保护区域,并随时暂停此功能。
配置说明
本模组内置了若干命令:
/anticreeper load:重新加载配置文件。适用于你在游戏运行期间修改过配置文件的情况。
/anticreeper setDestroy <value>:设为 0 可阻止苦力怕破坏方块;设为 1(或任意其他整数)则允许苦力怕破坏方块。
/anticreeper setProtected <value>:设为 0 关闭区域保护功能;设为 1(或任意其他整数)则开启区域保护功能。
目前尚不支持通过命令创建或删除受保护的区域。
如需设置,请打开你的 Minecraft 文件夹,进入 /config 目录,然后打开 anti-creeper.properties 文件。你将看到所有模组设置项。在 areas= 后添加你想要保护的区域坐标。
添加区域的格式如下:\<x1>,\<z1>,\<x2>,\<z2>,\<type>;
请勿包含任何空格。其中 \<x1> 和 \<z1> 应替换为你选定的用于定义保护区域的方块的 x 和 z 坐标;\<x2> 和 \<z2> 应替换为另一个选定方块的 x 和 z 坐标;\<type> 应根据你希望的保护形状填写 circle(圆形)或 rectangle(矩形)。
示例如下:areas=0,0,8,8,rectangle;0,0,-8,-8,circle;
完成文件修改后,保存文件并运行 /anticreeper load 命令(或重启游戏)。
Advanced Anti Creeper
Protection from creepers - in many variations
Creeper explosions can be incredibly frustrating. They destroy nice landscapes or even expensive and time consuming builds. This mod provides a solution to that. In fact, it provides multiple solutions.
- If you want to, you can prevent all creeper explosions from destroying blocks. This is the simplest solution to the problem.
- However, maybe you want to only protect some areas from creeper explosions. You can do that too by choosing the two outer most blocks of the area and letting the mod create either a circle or a rectangle to protect. You can define as many areas as you like and pause this feature at any time.
Configuration
The mod comes with certain built in commands.
- /anticreeper load: This command reloads the configuration file, in case you have mande any changes to the file while the game is running.
- /anticreeper setDestroy <value>: Choose 0 to prevent creepers from destroying blocks, choose 1 (or any other integer) to allow creepers to destroy blocks.
- /anticreeper setProtected <value>: Choose 0 to turn area protection off, choose 1 (or any other integer) to turn area protection on.
Unfortunately, there is not yet a command to set up or delete protected areas.
To do so, open your minecraft folder and go to /config. Open anti-creeper.properties. Here you see all mod settings. Next to areas= you can add areas to protect.
To add an area, write: <x1>,<z1>,<x2>,<z2>,<type>;
without any spaces. <x1> and <z1> should be replaced with the x and z coordinates of one of the blocks you chose to define the protected area. <x2> and <z2> should be replaced with the x and z coordinates of the other block. <type> should be replaced with either circle or rectangle, depending on the shape you want to protect.
An example would be: areas=0,0,8,8,rectangle;0,0,-8,-8,circle;
Once youre done modifying the file, save it and run /anticreeper load (or restart the game).
评论 0
登录后参与评分
还没有评论,来抢沙发吧