Entity Properties - ShaneBeee/SkBee GitHub Wiki

Entity:

name:

  • Description: Represents the name of an entity.
  • Return Type: text
  • Change Modes: set, delete/clear
  • Since: INSERT VERSION

health:

  • Description: Represents the health of an entity.
  • Return Type: number
  • Change Modes: add, set, remove
  • Since: INSERT VERSION
  • Examples:
set {_h} to health property of player
set health property of player to 10
add 1 to health property of player
remove 1 from health property of target entity

Inventory Holder:

inventory contents:

  • Description: Represents the contents of an object that holds an inventory.
  • Return Type: item type
  • Change Modes: add, set, remove, delete/clear
  • Since: INSERT VERSION
  • Examples:
set {_i::*} to inventory contents property of player
add an apple to inventory contents property of player
remove all diamonds from inventory contents property of player