Skip to content

DataSpell

MomoPewpew edited this page Jul 28, 2023 · 7 revisions

Source Code

spell-class: ".targeted.DataSpell"

Description:

Targeted spell. Fetches a specific data-element and places it in a variable

Configuration Options:

Option Description Default Value
data-element Data elements can be found here DataLivingEntity Or DataEntity. uuid
variable-name Which variable to place the data-element in.

Example:

variables:
  playeruuid:
    type: playerstring
    permanent: true
data:
  spell-class: ".targeted.DataSpell"
  target-self: true
  variable-name: playeruuid
  data-element: uuid
  str-cast-self: "Your UUID is %var:playeruuid%."
Clone this wiki locally