
投掷物
本插件添加了两种新的可投掷物品:砖块和番茄!
本项目针对的是_插件_。此外还有一个 资源包 需要安装。
番茄
番茄是游戏中新增的一种食物物品,同时也可用于投掷。蹲下并右键点击即可向目标投掷番茄,默认情况下没有冷却时间。它不会造成伤害。当番茄砸在方块上时,会形成一团红色污渍,持续 5 秒后消失。
砖块
砖块原本就存在于原版游戏中,但本插件允许你在合成表中将原版砖块物品转换为 3D 可投掷版本,然后再转换回来。默认情况下,两次投掷之间有一秒的冷却时间,但当击中实体时,会造成3颗心(6点)的伤害。

安装
将插件添加到你的 plugins 文件夹中。此插件仅适用于 PaperMC。请务必使用配套的资源包。建议将资源包设置为服务器的必需资源包,以便新玩家加入时能够自动下载并启用。
获取物品
砖块投掷物可以很容易地通过合成获得(如上所述),但番茄物品目前无法在生存模式中获取。要获取任意一种投掷物,请使用以下命令语法:
/givethrowable (tomato|brick) [<count>]
示例:
/givethrowable tomato 16
配置设置
几乎所有设置都可以在游戏中使用命令进行配置,并在服务器关闭时保存到服务器配置文件中(如果服务器崩溃或未正常停止,则配置更改将被丢弃)。要配置插件,请使用以下命令语法:
/throwablesettings reset
将所有投掷物的设置重置为默认值。
/throwablesettings (tomato|brick) reset
重置特定物品的所有设置。
/throwablesettings (tomato|brick) <setting>
显示某项设置的当前值。
/throwablesettings (tomato|brick) <setting> <value>
更改某项设置的值。
/throwablesettings (tomato|brick) <setting> reset
将某项设置重置为默认值。
/throwablesettings (tomato|brick) splatData <splat_setting>
显示 splatData 设置的当前值。
/throwablesettings (tomato|brick) splatData <splat_setting> <value>
更改 splatData 设置的值。
/throwablesettings (tomato|brick) splatData <splat_setting> reset
将特定的 splatData 设置重置为默认值。

Throwables
This plugin adds two new throwable items, a brick and a tomato!
This project is for the plugin. There is also a resource pack you have to install.
Tomato
The tomato is a brand new food item added to the game which happens to also be throwable. Crouch and right click to throw a tomato at your target, with no cooldown by default. It also does no damage. When the tomato splats on a block, a red splat is formed and remains for 5 seconds, before disappearing.
Brick
The brick is already in the vanilla game, but this plugin allows you to convert from the vanilla brick item to a 3D throwable version in a crafting grid and back. By default, you there is a one second cooldown between throws, but when hitting an entity, it does 3 hearts of damage.

Installation
Add the plugin to your plugins folder. This plugin only works with PaperMC. Also be sure to use the resource pack. It is recommended to add the resource pack to the server's required resource pack, so that it is downloaded and enabled automatically when new players join.
Getting the items
The brick throwable can be crafted easily (as explained above), but the tomato item currently cannot be obtained in survival. To obtain either throwable, use the following command syntax:
/givethrowable (tomato|brick) [<count>]
Example:
/givethrowable tomato 16
Configuring settings
Nearly all settings can be configured in-game using commands and they are saved to server config when the server stops (If the server crashes/doesn't stop properly, the config changes are discarded). To configure the plugin, use the following command syntax:
/throwablesettings reset
Reset all throwables to their default settings.
/throwablesettings (tomato|brick) reset
Reset all settings for a specific item.
/throwablesettings (tomato|brick) <setting>
Show the current value of a setting for an item.
/throwablesettings (tomato|brick) <setting> <value>
Change a setting for an item.
/throwablesettings (tomato|brick) <setting> reset
Reset a specific setting for an item to its default.
/throwablesettings (tomato|brick) splatData <splat_setting>
Show the current value of a splatData setting.
/throwablesettings (tomato|brick) splatData <splat_setting> <value>
Change a splatData setting for the item.
/throwablesettings (tomato|brick) splatData <splat_setting> reset
Reset a specific splatData setting for the item.
评论 0
登录后参与评分
还没有评论,来抢沙发吧