Skip to content

HotBar

插件简介

  • 为 PlaceholderAPI 增加更多手持物品和快捷栏的变量。

变量列表​

  • %hotbar_slot% - 返回当前快捷栏位置
  • %hotbar_slot_name% - 返回手持物品名称
  • %hotbar_slot_name_strip_color% - 返回手持物品名称(去除颜色)
  • %hotbar_slot_item% - 返回手持物品ID
  • %hotbar_slot_amount% - 返回手持物品数量
  • %hotbar_slot_durability% - 返回手持物品耐久
  • %hotbar_slot_durability_max% - 返回手持物品最大耐久
  • %hotbar_slot_lore% - 返回手持物品Lore
  • %hotbar_slot_lore_strip_color% - 返回手持物品Lore(去除颜色)
  • %hotbar_slot_is_armor% - 判断手中物品是否为盔甲
  • %hotbar_slot_is_weapon% - 判断手中物品是否为武器
  • %hotbar_slot_is_food% - 判断手中物品是否为食物
  • %hotbar_slot_is_tool% - 判断手中物品是否为工具

下载地址

https://www.minebbs.com/resources/hotbar-papi-x-x.10135/