HytaleDocs
Entity

Effects

Asset path: Server/Entity/Effects/*.json

Parent

When set this asset will inherit properties from the named asset.

When inheriting from another EntityEffect most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

Type information: String

Tags

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Type information:

(Nullable) Map of the following:

KeyType
any StringArray of String

Name

The name of this entity effect that will be displayed in the UI. This must be a localization key.

Type information: (Nullable) String

ApplicationEffects

Type information:

(Nullable)

ApplicationEffects with the following properties:

KeyTypeDescription
EntityBottomTint(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

EntityTopTint(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

EntityAnimationId(Nullable) String
Particles(Nullable) Array of the type:
ModelParticle

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartEntityPart
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable) Vector3f
RotationOffset(Nullable) Direction
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean defaults to: false

When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan.

FirstPersonParticles(Nullable) Array of the type:
ModelParticle

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartEntityPart
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable) Vector3f
RotationOffset(Nullable) Direction
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean defaults to: false

When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan.

ScreenEffect(Nullable) String

Reference to a common asset in the folder:

  • Common/ScreenEffects/
with the extension: *.png
HorizontalSpeedMultiplierNumber defaults to: 1.0
KnockbackMultiplierNumber defaults to: 1.0
LocalSoundEventId(Nullable) String

Reference to a SoundEvent asset

Local sound event played to the affected player

WorldSoundEventId(Nullable) String

Reference to a SoundEvent asset

World sound event played to surrounding players

ModelVFXId(Nullable) String

Reference to a ModelVFX asset

MovementEffects(Nullable)
MovementEffects

MovementEffects with the following properties:

KeyTypeDescription
DisableAllBoolean defaults to: false

Determines whether all movement input is disabled

DisableForwardBoolean defaults to: false

Determines whether forwards movement input is disabled

DisableBackwardBoolean defaults to: false

Determines whether backwards movement input is disabled

DisableLeftBoolean defaults to: false

Determines whether left-strafe movement input is disabled

DisableRightBoolean defaults to: false

Determines whether right-strafe movement input is disabled

DisableSprintBoolean defaults to: false

Determines whether sprint input is disabled

DisableJumpBoolean defaults to: false

Determines whether jump input is disabled

DisableCrouchBoolean defaults to: false

Determines whether crouch input is disabled

SpeedMultiplier(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The multiplier applied to the entity's movement speed

AbilityEffects(Nullable)
AbilityEffects

AbilityEffects with the following properties:

KeyTypeDescription
Disabled(Nullable) Array of the type: InteractionType

A collection of interaction types to become disabled while the entity effect affiliated with this ability effect is active

Handles any effects applied that are affiliated with abilities

MouseSensitivityAdjustmentTarget(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

What is the target modifier to apply to mouse sensitivity while this interaction is active.

MouseSensitivityAdjustmentDuration(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Override the global linear modifier adjustment with this as the time to go from 1.0 to 0.0.

WorldRemovalSoundEventId

Type information: (Nullable) String

Reference to a SoundEvent asset

LocalRemovalSoundEventId

Type information: (Nullable) String

Reference to a SoundEvent asset

DamageCalculator

Type information:

(Nullable)

DamageCalculator with the following properties:

KeyTypeDescription
Type(Nullable) Any one of the following String (defaults to Absolute):
Type
NameDescription
"Dps"
"Absolute"
ClassAny one of the following String (defaults to Unknown):
DamageClass
NameDescription
"Unknown"
"Light"
"Charged"
"Signature"

The class of the damage being created, used by the damage system to apply modifiers based on equipment of the source.

BaseDamage(Nullable) Map of the following:
Map of string to float
SequentialModifierStep(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
SequentialModifierMinimum(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
RandomPercentageModifier(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

DamageCalculatorCooldown

Type information:

(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

DamageEffects

Type information:

(Nullable)

DamageEffects with the following properties:

KeyTypeDescription
ModelParticles(Nullable) Array of the type:
ModelParticle

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartEntityPart
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable) Vector3f
RotationOffset(Nullable) Direction
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean defaults to: false

When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan.

WorldParticles(Nullable) Array of the type:
WorldParticle

WorldParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

The id of the particle system.

Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

The colour used if none was specified in the particle settings.

Scale(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The scale of the particle system.

PositionOffset(Nullable) Vector3f

The position offset from the spawn position.

RotationOffset(Nullable) Direction

The rotation offset from the spawn rotation.

LocalSoundEventId(Nullable) String

Reference to a SoundEvent asset

WorldSoundEventId(Nullable) String

Reference to a SoundEvent asset

PlayerSoundEventId(Nullable) String

Reference to a SoundEvent asset

The sound to play to a player receiving the damage.

ViewDistanceNumber defaults to: 75.0
Knockback(Nullable) Type Selector
CameraEffect(Nullable) Either String or CameraEffect

Reference to a CameraEffect asset

StaminaDrainMultiplier(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

A multiplier to apply to any stamina drain caused by this damage.

StatModifierEffects

Effects to play when stat modifiers are applied and updated.

Type information:

(Nullable)

DamageEffects with the following properties:

KeyTypeDescription
ModelParticles(Nullable) Array of the type:
ModelParticle

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartEntityPart
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable) Vector3f
RotationOffset(Nullable) Direction
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean defaults to: false

When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan.

WorldParticles(Nullable) Array of the type:
WorldParticle

WorldParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

The id of the particle system.

Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

The colour used if none was specified in the particle settings.

Scale(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The scale of the particle system.

PositionOffset(Nullable) Vector3f

The position offset from the spawn position.

RotationOffset(Nullable) Direction

The rotation offset from the spawn rotation.

LocalSoundEventId(Nullable) String

Reference to a SoundEvent asset

WorldSoundEventId(Nullable) String

Reference to a SoundEvent asset

PlayerSoundEventId(Nullable) String

Reference to a SoundEvent asset

The sound to play to a player receiving the damage.

ViewDistanceNumber defaults to: 75.0
Knockback(Nullable) Type Selector
CameraEffect(Nullable) Either String or CameraEffect

Reference to a CameraEffect asset

StaminaDrainMultiplier(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

A multiplier to apply to any stamina drain caused by this damage.

ModelOverride

Type information:

(Nullable)

ModelOverride with the following properties:

KeyTypeDescription
Model(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
  • Common/Items/
  • Common/VFX/
with the extension: *.blockymodel
Texture(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
  • Common/Items/
  • Common/VFX/
with the extension: *.png
AnimationSets(Nullable) Map of the following:
Map
KeyType
any StringAnimationSet

ModelChange

A model to change the affected entity's appearance to.

Type information: (Nullable) String

Reference to a ModelAsset asset

RawStatModifiers

Type information:

(Nullable) Map of the following:

KeyType
String

Reference to a EntityStatType asset

Array of the type:
StaticModifier

StaticModifier with the following properties:

KeyTypeDescription
IdConstant value: Static

This field controls the type, it must be set to the constant value "Static" to function as this type.

Target(Nullable) ModifierTarget
CalculationTypeCalculationType
Amount(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

StatModifiers

Modifiers to apply to EntityStats.

Type information:

(Nullable) Map of the following:

ValueType

Enum to specify if the StatModifiers must be considered as absolute values or percent. Default value is Absolute. When using ValueType.Absolute, '100' matches the max value.

Type information:

Any one of the following String (defaults to Absolute):

NameDescription
"Percent"
"Absolute"

Duration

Value used by default unless specified otherwise in the method's call.

Type information:

(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

OverlapBehavior

Value used by default unless specified otherwise in the method's call.

Type information:

(Nullable) Any one of the following String (defaults to Ignore):

NameDescription
"Extend"
"Overwrite"
"Ignore"

Infinite

Value used by default unless specified otherwise in the method's call.

Type information: Boolean defaults to: false

Debuff

Value used by default unless specified otherwise in the method's call.

Type information: Boolean defaults to: false

StatusEffectIcon

Value used by default unless specified otherwise in the method's call.

Type information: (Nullable) String

RemovalBehavior

Value used by default unless specified otherwise in the method's call.

Type information:

(Nullable) Any one of the following String (defaults to Complete):

NameDescription
"Complete"
"Infinite"
"Duration"

Invulnerable

Determines whether this effect applies the invulnerable component to the entity whilst active.

Type information: Boolean defaults to: false

DamageResistance

Type information:

(Nullable) Map of the following:

KeyType
String

Reference to a DamageCause asset

Array of the type:
ResistanceModifier

ResistanceModifier with the following properties:

KeyTypeDescription
CalculationTypeResistanceCalculationType

When using 'Percent', the amount represents a percentage reduction. For example, 0.25 equals 25% reduction.

Amount(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

OutgoingDamage

Modifiers applied to damage DEALT by the entity carrying this effect, keyed by damage cause (parent causes match their children). Positive Percent amounts increase the damage (0.25 = +25%); Flat amounts add before the percent scaling.

Type information:

(Nullable) Map of the following:

KeyType
String

Reference to a DamageCause asset

Array of the type:
ResistanceModifier

ResistanceModifier with the following properties:

KeyTypeDescription
CalculationTypeResistanceCalculationType

When using 'Percent', the amount represents a percentage reduction. For example, 0.25 equals 25% reduction.

Amount(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

DeathMessageKey

Localization key used on the death screen when this EntityEffect kills a player.

Type information: (Nullable) String

ApplyConditions

Conditions that must ALL be true for this effect to remain active. If any condition fails, the effect is removed.

Type information:

(Nullable) Array of the type: Any of these:

Key: IdType
Alive
AliveCondition

AliveCondition with the following properties:

KeyTypeDescription
IdConstant value: Alive

This field controls the type, it must be set to the constant value "Alive" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Charging
ChargingCondition

ChargingCondition with the following properties:

KeyTypeDescription
IdConstant value: Charging

This field controls the type, it must be set to the constant value "Charging" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelayNumber

The delay duration within which a recent charge is considered valid.

UseIgnoreFlagBoolean defaults to: false

If true, the IgnoreForFlaggedConditions on matching interactions will be adhered to.

CheckPlayerGameMode
CheckPlayerGameModeCondition

CheckPlayerGameModeCondition with the following properties:

KeyTypeDescription
IdConstant value: CheckPlayerGameMode

This field controls the type, it must be set to the constant value "CheckPlayerGameMode" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

GameModeGameMode

The game mode to check for. If null, the condition always passes.

Environment
EnvironmentCondition

EnvironmentCondition with the following properties:

KeyTypeDescription
IdConstant value: Environment

This field controls the type, it must be set to the constant value "Environment" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Environments(Nullable) Array of String

The environments to evaluate the condition against.

Gliding
GlidingCondition

GlidingCondition with the following properties:

KeyTypeDescription
IdConstant value: Gliding

This field controls the type, it must be set to the constant value "Gliding" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

HasEffect
HasEffectCondition

HasEffectCondition with the following properties:

KeyTypeDescription
IdConstant value: HasEffect

This field controls the type, it must be set to the constant value "HasEffect" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

EffectId(Nullable) String

Reference to a EntityEffect asset

The effect to check for. Returns true if the entity has an active effect matching this one. If null, this condition always returns false.

InFluid
InFluidCondition

InFluidCondition with the following properties:

KeyTypeDescription
IdConstant value: InFluid

This field controls the type, it must be set to the constant value "InFluid" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

FluidIds(Nullable) Array of String

Reference to a Fluid asset

Fluid IDs to match against. Returns true when at least one block within the entity's bounding box contains one of these fluids.

Tags(Nullable) Array of String

Fluid tags to match against. Returns true when at least one block within the entity's bounding box contains a fluid with any of these tags.

IsPlayer
IsPlayerCondition

IsPlayerCondition with the following properties:

KeyTypeDescription
IdConstant value: IsPlayer

This field controls the type, it must be set to the constant value "IsPlayer" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

LogicCondition
LogicCondition

LogicCondition with the following properties:

KeyTypeDescription
IdConstant value: LogicCondition

This field controls the type, it must be set to the constant value "LogicCondition" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

OperatorOperator

The logical operator to combine the conditions.

ConditionsArray of the type: Type Selector (1)

The array of conditions to be evaluated.

NoDamageTaken
NoDamageTakenCondition

NoDamageTakenCondition with the following properties:

KeyTypeDescription
IdConstant value: NoDamageTaken

This field controls the type, it must be set to the constant value "NoDamageTaken" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelayNumber

The delay duration for the no damage taken condition.

OutOfCombat
OutOfCombatCondition

OutOfCombatCondition with the following properties:

KeyTypeDescription
IdConstant value: OutOfCombat

This field controls the type, it must be set to the constant value "OutOfCombat" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelaySeconds(Nullable) Number

Delay before an entity is considered out of combat. Expressed in seconds.

RegenHealth
RegenHealthCondition

RegenHealthCondition with the following properties:

KeyTypeDescription
IdConstant value: RegenHealth

This field controls the type, it must be set to the constant value "RegenHealth" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Sprinting
SprintingCondition

SprintingCondition with the following properties:

KeyTypeDescription
IdConstant value: Sprinting

This field controls the type, it must be set to the constant value "Sprinting" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Stat
StatCondition

StatCondition with the following properties:

KeyTypeDescription
IdConstant value: Stat

This field controls the type, it must be set to the constant value "Stat" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

StatString

Reference to a EntityStatType asset

The stat to evaluate the condition against.

AmountEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The amount to compare the entity's stat against.

Comparison(Nullable) StatComparisonType

The comparison type used for evaluating the stat condition.

Suffocating
SuffocatingCondition

SuffocatingCondition with the following properties:

KeyTypeDescription
IdConstant value: Suffocating

This field controls the type, it must be set to the constant value "Suffocating" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Wielding
WieldingCondition

WieldingCondition with the following properties:

KeyTypeDescription
IdConstant value: Wielding

This field controls the type, it must be set to the constant value "Wielding" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

UseIgnoreFlagBoolean defaults to: false

If true, the IgnoreForFlaggedConditions on matching interactions will be adhered to.

Notes:

Types referenced by this type

EntityPart

Any one of the following String (defaults to Self):

NameDescription
"Self"
"Entity"
"PrimaryItem"
"SecondaryItem"

InteractionType

Any one of the following String:

NameDescription
"Primary"
"Secondary"
"Ability1"
"Ability2"
"Ability3"
"Ability4"
"Use"
"Pick"
"Pickup"
"CollisionEnter"
"CollisionLeave"
"Collision"
"EntityStatEffect"
"SwapTo"
"SwapFrom"
"Death"
"Wielding"
"ProjectileSpawn"
"ProjectileHit"
"ProjectileMiss"
"ProjectileBounce"
"Held"
"HeldOffhand"
"Equipped"
"Dodge"
"GameModeSwap"
"OnBreak"
"OnBreakImpact"

Type Selector

Any of these:

Key: TypeType
default case: Directional
DirectionalKnockback

DirectionalKnockback with the following properties:

KeyTypeDescription
Type(Nullable) String

This field controls the type, it must be set to the constant value "Directional" to function as this type.

ForceNumber defaults to: 0.0
Duration(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The duration for which the knockback force should be continuously applied. If 0, force is applied once.

VelocityType(Nullable) ChangeVelocityType
VelocityConfig(Nullable) VelocityConfig
RelativeXNumber defaults to: 0.0
VelocityYNumber defaults to: 0.0
RelativeZNumber defaults to: 0.0
Force
ForceKnockback

ForceKnockback with the following properties:

KeyTypeDescription
TypeConstant value: Force

This field controls the type, it must be set to the constant value "Force" to function as this type.

ForceNumber defaults to: 0.0
Duration(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The duration for which the knockback force should be continuously applied. If 0, force is applied once.

VelocityType(Nullable) ChangeVelocityType
VelocityConfig(Nullable) VelocityConfig
DirectionVector3d
Point
PointKnockback

PointKnockback with the following properties:

KeyTypeDescription
TypeConstant value: Point

This field controls the type, it must be set to the constant value "Point" to function as this type.

ForceNumber defaults to: 0.0
Duration(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The duration for which the knockback force should be continuously applied. If 0, force is applied once.

VelocityType(Nullable) ChangeVelocityType
VelocityConfig(Nullable) VelocityConfig
VelocityYNumber defaults to: 0.0
RotateYInteger defaults to: 0
OffsetXInteger defaults to: 0
OffsetZInteger defaults to: 0

ChangeVelocityType

(Nullable) Any one of the following String (defaults to Add):

NameDescription
"Add"

Adds the velocity to any existing velocity

"Set"

Changes the velocity to the given value. Overriding existing values.

ModifierTarget

(Nullable) Any one of the following String (defaults to Max):

NameDescription
"Min"
"Max"

CalculationType

Any one of the following String:

NameDescription
"Additive"
"Multiplicative"

ResistanceCalculationType

Any one of the following String:

NameDescription
"Flat"
"Percent"

GameMode

Any one of the following String:

NameDescription
"Adventure"
"Creative"

Operator

Any one of the following String:

NameDescription
"And"
"Or"

Type Selector (1)

Any of these:

Key: IdType
Alive
AliveCondition

AliveCondition with the following properties:

KeyTypeDescription
IdConstant value: Alive

This field controls the type, it must be set to the constant value "Alive" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Charging
ChargingCondition

ChargingCondition with the following properties:

KeyTypeDescription
IdConstant value: Charging

This field controls the type, it must be set to the constant value "Charging" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelayNumber

The delay duration within which a recent charge is considered valid.

UseIgnoreFlagBoolean defaults to: false

If true, the IgnoreForFlaggedConditions on matching interactions will be adhered to.

CheckPlayerGameMode
CheckPlayerGameModeCondition

CheckPlayerGameModeCondition with the following properties:

KeyTypeDescription
IdConstant value: CheckPlayerGameMode

This field controls the type, it must be set to the constant value "CheckPlayerGameMode" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

GameModeGameMode

The game mode to check for. If null, the condition always passes.

Environment
EnvironmentCondition

EnvironmentCondition with the following properties:

KeyTypeDescription
IdConstant value: Environment

This field controls the type, it must be set to the constant value "Environment" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Environments(Nullable) Array of String

The environments to evaluate the condition against.

Gliding
GlidingCondition

GlidingCondition with the following properties:

KeyTypeDescription
IdConstant value: Gliding

This field controls the type, it must be set to the constant value "Gliding" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

HasEffect
HasEffectCondition

HasEffectCondition with the following properties:

KeyTypeDescription
IdConstant value: HasEffect

This field controls the type, it must be set to the constant value "HasEffect" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

EffectId(Nullable) String

Reference to a EntityEffect asset

The effect to check for. Returns true if the entity has an active effect matching this one. If null, this condition always returns false.

InFluid
InFluidCondition

InFluidCondition with the following properties:

KeyTypeDescription
IdConstant value: InFluid

This field controls the type, it must be set to the constant value "InFluid" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

FluidIds(Nullable) Array of String

Reference to a Fluid asset

Fluid IDs to match against. Returns true when at least one block within the entity's bounding box contains one of these fluids.

Tags(Nullable) Array of String

Fluid tags to match against. Returns true when at least one block within the entity's bounding box contains a fluid with any of these tags.

IsPlayer
IsPlayerCondition

IsPlayerCondition with the following properties:

KeyTypeDescription
IdConstant value: IsPlayer

This field controls the type, it must be set to the constant value "IsPlayer" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

LogicCondition
LogicCondition

LogicCondition with the following properties:

KeyTypeDescription
IdConstant value: LogicCondition

This field controls the type, it must be set to the constant value "LogicCondition" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

OperatorOperator

The logical operator to combine the conditions.

ConditionsArray of the type: Type Selector (1)

The array of conditions to be evaluated.

NoDamageTaken
NoDamageTakenCondition

NoDamageTakenCondition with the following properties:

KeyTypeDescription
IdConstant value: NoDamageTaken

This field controls the type, it must be set to the constant value "NoDamageTaken" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelayNumber

The delay duration for the no damage taken condition.

OutOfCombat
OutOfCombatCondition

OutOfCombatCondition with the following properties:

KeyTypeDescription
IdConstant value: OutOfCombat

This field controls the type, it must be set to the constant value "OutOfCombat" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

DelaySeconds(Nullable) Number

Delay before an entity is considered out of combat. Expressed in seconds.

RegenHealth
RegenHealthCondition

RegenHealthCondition with the following properties:

KeyTypeDescription
IdConstant value: RegenHealth

This field controls the type, it must be set to the constant value "RegenHealth" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Sprinting
SprintingCondition

SprintingCondition with the following properties:

KeyTypeDescription
IdConstant value: Sprinting

This field controls the type, it must be set to the constant value "Sprinting" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Stat
StatCondition

StatCondition with the following properties:

KeyTypeDescription
IdConstant value: Stat

This field controls the type, it must be set to the constant value "Stat" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

StatString

Reference to a EntityStatType asset

The stat to evaluate the condition against.

AmountEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The amount to compare the entity's stat against.

Comparison(Nullable) StatComparisonType

The comparison type used for evaluating the stat condition.

Suffocating
SuffocatingCondition

SuffocatingCondition with the following properties:

KeyTypeDescription
IdConstant value: Suffocating

This field controls the type, it must be set to the constant value "Suffocating" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

Wielding
WieldingCondition

WieldingCondition with the following properties:

KeyTypeDescription
IdConstant value: Wielding

This field controls the type, it must be set to the constant value "Wielding" to function as this type.

InverseBoolean defaults to: false

Determines whether the condition is inverted.

UseIgnoreFlagBoolean defaults to: false

If true, the IgnoreForFlaggedConditions on matching interactions will be adhered to.

StatComparisonType

(Nullable) Any one of the following String (defaults to Gte):

NameDescription
"Gte"
"Gt"
"Lte"
"Lt"
"Equal"

On this page