Item Properties - ShaneBeee/SkBee GitHub Wiki

Item Type:

fire resistant:

  • Description: Represents if an item is fire resistant. If true, it will not burn in fire or lava.
  • Return Type: boolean (yes/no)
  • Change Modes: set
  • Since: INSERT VERSION
  • Examples:
set fire resistant property of {_i} to true

item rarity:

  • Description: Represents the different item rarities of an item (represented as a string).
    Options are: "common", "uncommon", "rare", "epic"
    Requires MC 1.20.5+
  • Return Type: text
  • Change Modes: set, delete/clear
  • Since: INSERT VERSION
  • Examples:
set item rarity property of player's tool to "uncommon"
set {_rarity} to item rarity property of player's tool
if item rarity property of player's tool = "epic":