Class Conditions

java.lang.Object
me.deecaad.core.mechanics.Conditions

public final class Conditions extends Object
Utility class holding all built-in conditions, and the registry for all conditions. This class is not meant to be instantiated.

The registry REGISTRY is a mutable registry, meaning that you can external sources may add/overwrite conditions.

  • Field Details

    • REGISTRY

      @NotNull public static final @NotNull MutableRegistry<Condition> REGISTRY
      The registry for all globally registered conditions.
    • BIOME

      @NotNull public static final @NotNull Condition BIOME
    • ENTITY_TYPE

      @NotNull public static final @NotNull Condition ENTITY_TYPE
    • GLIDING

      @NotNull public static final @NotNull Condition GLIDING
    • HAS_PERMISSION

      @NotNull public static final @NotNull Condition HAS_PERMISSION
    • IN_CONE

      @NotNull public static final @NotNull Condition IN_CONE
    • LIGHT_LEVEL

      @NotNull public static final @NotNull Condition LIGHT_LEVEL
    • MATERIAL_CATEGORY

      @NotNull public static final @NotNull Condition MATERIAL_CATEGORY
    • ON_GROUND

      @NotNull public static final @NotNull Condition ON_GROUND
    • RANGE

      @NotNull public static final @NotNull Condition RANGE
    • RIDING

      @NotNull public static final @NotNull Condition RIDING
    • SNEAKING

      @NotNull public static final @NotNull Condition SNEAKING
    • SPRINTING

      @NotNull public static final @NotNull Condition SPRINTING