Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Entity Properties

Shane Bee edited this page Aug 24, 2024 · 3 revisions

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
Clone this wiki locally