Enum Class TriggerContext.MissingActor

java.lang.Object
java.lang.Enum<TriggerContext.MissingActor>
com.hypixel.hytale.builtin.triggervolumes.effect.TriggerContext.MissingActor
All Implemented Interfaces:
Serializable, Comparable<TriggerContext.MissingActor>, Constable
Enclosing class:
TriggerContext

public static enum TriggerContext.MissingActor extends Enum<TriggerContext.MissingActor>
How TriggerContext.resolveOrigin(EffectOrigin, Vector3d, TriggerContext.MissingActor) behaves when an ENTITY/EVENT anchor has no position.
  • Enum Constant Details

    • FALLBACK_TO_VOLUME

      public static final TriggerContext.MissingActor FALLBACK_TO_VOLUME
      Use the volume origin instead, so the effect still fires at a sensible place.
    • SKIP

      public static final TriggerContext.MissingActor SKIP
      Return null so the caller skips the effect entirely.
  • Method Details

    • values

      public static TriggerContext.MissingActor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TriggerContext.MissingActor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null