Skip to content

/element

    < Commands

The /element command can be used to check, add, remove and modify elements for an living entity, as well as apply elements infusions to items like the Infusion Table.

Syntax:

mcfunction
element apply <target> <element> <gaugeUnits>
mcfunction
element apply <target> <element> <gaugeUnits> gaugeUnit [isAura]

Applies the specified element to the specified target with the specified amount of gauge units.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)
  • <gaugeUnits> being a double (a decimal or whole number) greater than 0.0.
    • (e.g: 1, 1.5, 4)
  • [isAura] being a boolean that determines if the Elemental Application is considered an Aura Element. Elements that cannot be Aura Elements will ignore true, defaults to true.
    • (e.g: true, false)

mcfunction
element apply <target> <element> <gaugeUnits> duration <duration>

Applies the specified element to the specified target with the specified amount of gauge units that lasts for a maximum of the specified duration, in ticks.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)
  • <gaugeUnits> being a double (a decimal or whole number) greater than 0.0.
    • (e.g: 1, 1.5, 4)
  • <duration> being a integer (a whole number)

mcfunction
element remove <target> <element>

Removes the specified element from the specified target.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)

mcfunction
element reduce <target> <element> <gaugeUnits>

Reduces the specified element of the specified target with the specified amount of gauge units.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)
  • <gaugeUnits> being a double (a decimal or whole number) greater than 0.0.
    • (e.g: 1, 1.5, 4)

mcfunction
element query <target>

Queries the elements currently on specified target.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)

mcfunction
element query <target> [element]

Queries the specified element of the specified target.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • [element] being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)

mcfunction
element infusion apply <target> <element> <gaugeUnits>
mcfunction
element infusion apply <target> <element> <gaugeUnits> gaugeUnit [tag] [type]

Applies a permanent elemental infusion to the target's held item.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)
  • <gaugeUnits> being a double (a decimal or whole number) greater than 0.0.
    • (e.g: 1, 1.5, 4)
  • [tag] being a valid Internal Cooldown Tag string, defaults to the special none Internal Cooldown Tag.
    • (e.g: damage, seven-elements:infusion, "Custom Infusion Tag", "" (none))
  • [type] being a valid Internal Cooldown Type id, defaults to seven-elements:default.
    • (e.g. seven-elements:default, seven-elements:none)
mcfunction
element infusion apply <target> <element> <gaugeUnits> duration <duration> [tag] [type]

Applies a permanent elemental infusion to the target's held item.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)
  • <element> being the name of an element.
    • (e.g: pyro, HYDRO, eLeCtRo)
  • <gaugeUnits> being a double (a decimal or whole number) greater than 0.0.
    • (e.g: 1, 1.5, 4)
  • <duration> being an integer (a whole number).
    • (e.g: 1, 4, 6)
  • [tag] being a valid Internal Cooldown Tag string, defaults to the special none Internal Cooldown Tag.
    • (e.g: damage, seven-elements:infusion, "Custom Infusion Tag", "" (none))
  • [type] being a valid Internal Cooldown Type id, defaults to seven-elements:default.
    • (e.g. seven-elements:default, seven-elements:none)

mcfunction
element infusion remove <target>

Removes the elemental infusion from the target's held item.

  • <target> being a target selector, username, or UUID; can only select one at a time.
    • (e.g: @a[limit = 1], @p, _xRickAstley, b1b981b6-4081-4abe-afd8-e79269c6a339)

THIS PROJECT IS NOT AFFILIATED WITH NEITHER HOYOVERSE NOR GENSHIN IMPACT.