Armed Armor Stands 图标

Armed Armor Stands

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/armedarmorstands
资源信息

Minecraft 版本: 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2

平台: bukkit paper purpur spigot

标签: game-mechanics utility

资源介绍

A simple plugin that adds arms to armor stands upon right click while holding two sticks.

Config

messages:
  prefix: '&6ArmedArmorstands &8» &7'
  no-permission: '&cYou're not allowed to use this feature!'
permission:
  permission: armorstand.arm # Permission for using the feature
  required: true # If the permission is required in order to use the feature
  send-message: true # If a message should be send if you don't have the permission
settings:
  consume-sticks: true # If the sticks should be removed from the player
  drop-sticks: true # If the 'arms' should drop upon death

Developer API (ArmorStandArmEvent)

Methods:

  • getPlayer()
  • getArmorStand()
import net.kettlemc.armedarmorstands.event.ArmorStandArmEvent;

public class ArmorStandArmListener implements Listener {

    @EventHandler
    public void onArmorStandArm(ArmorStandArmEvent event) {
        if (event.getArmorStand().getWorld().getName().contains("farmworld")) {
            event.getPlayer().sendMessage("You are not allowed to use this in the farmworld!");
            event.setCancelled(true);
        }
    }
}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
No Spears

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

查看详情
Magenta Tooltip (Frame-only Monochrome)

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

查看详情
ralffzuf 150 abo pack

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

查看详情
ColorTex Blue

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

查看详情