跳到正文

Localised Wither Remover

作者:marghost

This minecraft datapack is geared toward protecting specific areas in your world from wither grief. It will allow you to kill automatically any wither from specific locations of your world.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Localised Wither Remover v1.0.0

  • Creator : Marghost
  • Email : marghost[@]protonmail.com
  • Website : https://thegeekghost.com
  • Project’s Github : https://github.com/marghost/localised_wither_remover/

Description

This minecraft datapack is geared toward protecting specific areas in your world from wither grief. It will allow you to kill automaticly any wither from specific locations of your world. By default it is configured to protect your world spawn and the main end island.

This mod dispose of the wither in a way that prevent player to get Nether Star or Wither Heads. It help reduce abuse of this datapack mecanics.

Tested on minecraft java version 1.20.4.

Installation

  • Download the zip file named localised_wither_remover-1.0.0.zip from the project release page : localised_wither_remover-1.0.0.zip
  • Drop localised_wither_remover-1.0.0.zip in the .\world\datapack\ directory of your server
  • Reboot your server or run the /reload command

Protected Areas

Overworld

The default mecanic of this datapack protect a range of 300 blocks centered on x=0 y=64 z=0 in the overworld.
This correspond to SPAWN on most servers.

The End

The default mecanic of this datapact protect a range of 200 blocks centered on x=0 y=63 z=0 in the end.
This protect the main island but also prevent wither skulls to go through the end portal and destroy your world spawn.

Protected Area Customization

Take a look at this section if you have custom world spawn coordinates.

By default this datapack take for granted that your spawn is located ad x=0 y=64 z=0. If you edited this value on your server, you need to modify this datapack to make it compatible and cover your actual spawn.

How to modify Spawn coordinates

  • Unzip this datapack to make the modifications
  • Open .\data\localisedwitherremover\functions\localisedwitherremover.mcfunction
  • The spawn coordinate values can be modified by editing line 4 and line 7
  • Drop the edited datapack in the \world\datapack\ directory of your server

Line 4

execute in minecraft:overworld run tp @e[type=wither,x=<SPAWN_X_COORD>,y=<SPAWN_Y_COORD>,z=<SPAWN_Z_COORD>,distance=..<RANGE>] -15 -65 -15

Line 7

execute in minecraft:overworld run kill @e[type=wither,x=<SPAWN_X_COORD>,y=<SPAWN_Y_COORD>,z=<SPAWN_Z_COORD>,distance=..<RANGE>]

Values description

  • : Spawn X value. Default value = 0
  • : Spawn Y value. Default value = 64
  • : Spawn Z value. Default value = 0
  • : Range of the area protected. Default value = 300

EXTRA

  • To disable Spawn protection you need to put a # in front of lines 4 and 7.
  • To disable End protection you need to put a # in front of lines 10 and 13
  • This script is made to run every 5 seconds, you can adjust this value in ticks by adjusting 100t line 17.

License

GNU GENERAL PUBLIC LICENSE v3

常见问题

Localised Wither Remover 支持哪些 Minecraft 版本?

Localised Wither Remover 支持 Minecraft Java 版 1.20.4。下载时注意选择和你游戏版本一致的文件。

Localised Wither Remover 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

marghost 的其他作品

查看全部 →