Class FaweLimit

java.lang.Object
com.fastasyncworldedit.core.limit.FaweLimit

public class FaweLimit extends Object
  • Field Details

    • MAX_ACTIONS

      public int MAX_ACTIONS
    • MAX_CHANGES

      public AtomicLong MAX_CHANGES
    • MAX_FAILS

      public AtomicInteger MAX_FAILS
    • MAX_CHECKS

      public AtomicLong MAX_CHECKS
    • MAX_ITERATIONS

      public AtomicInteger MAX_ITERATIONS
    • MAX_BLOCKSTATES

      public AtomicInteger MAX_BLOCKSTATES
    • MAX_ENTITIES

      public AtomicInteger MAX_ENTITIES
    • MAX_HISTORY

      public int MAX_HISTORY
    • SCHEM_FILE_SIZE_LIMIT

      public int SCHEM_FILE_SIZE_LIMIT
    • SCHEM_FILE_NUM_LIMIT

      public int SCHEM_FILE_NUM_LIMIT
    • MAX_EXPRESSION_MS

      public int MAX_EXPRESSION_MS
    • MAX_RADIUS

      public int MAX_RADIUS
    • MAX_SUPER_PICKAXE_SIZE

      public int MAX_SUPER_PICKAXE_SIZE
    • MAX_BRUSH_RADIUS

      public int MAX_BRUSH_RADIUS
    • MAX_BUTCHER_RADIUS

      public int MAX_BUTCHER_RADIUS
    • INVENTORY_MODE

      public int INVENTORY_MODE
    • SPEED_REDUCTION

      public int SPEED_REDUCTION
    • FAST_PLACEMENT

      public boolean FAST_PLACEMENT
    • CONFIRM_LARGE

      public boolean CONFIRM_LARGE
    • RESTRICT_HISTORY_TO_REGIONS

      public boolean RESTRICT_HISTORY_TO_REGIONS
    • ALLOW_LEGACY

      public boolean ALLOW_LEGACY
    • STRIP_NBT

      public Set<String> STRIP_NBT
    • UNIVERSAL_DISALLOWED_BLOCKS

      public boolean UNIVERSAL_DISALLOWED_BLOCKS
    • DISALLOWED_BLOCKS

      public Set<String> DISALLOWED_BLOCKS
    • REMAP_PROPERTIES

      public Set<PropertyRemap<?>> REMAP_PROPERTIES
    • MAX

      public static FaweLimit MAX
  • Constructor Details

    • FaweLimit

      public FaweLimit()
  • Method Details

    • MAX_CHANGES

      public boolean MAX_CHANGES()
    • MAX_FAILS

      public boolean MAX_FAILS()
    • MAX_CHECKS

      public boolean MAX_CHECKS()
    • MAX_ITERATIONS

      public boolean MAX_ITERATIONS()
    • MAX_BLOCKSTATES

      public boolean MAX_BLOCKSTATES()
    • MAX_ENTITIES

      public boolean MAX_ENTITIES()
    • THROW_MAX_CHANGES

      public void THROW_MAX_CHANGES()
    • THROW_MAX_FAILS

      public void THROW_MAX_FAILS()
    • THROW_MAX_CHECKS

      public void THROW_MAX_CHECKS()
    • THROW_MAX_ITERATIONS

      public void THROW_MAX_ITERATIONS()
    • THROW_MAX_BLOCKSTATES

      public void THROW_MAX_BLOCKSTATES()
    • THROW_MAX_ENTITIES

      public void THROW_MAX_ENTITIES()
    • THROW_MAX_CHANGES

      public void THROW_MAX_CHANGES(int amt)
    • THROW_MAX_CHANGES

      public void THROW_MAX_CHANGES(long amt)
    • THROW_MAX_FAILS

      public void THROW_MAX_FAILS(int amt)
    • THROW_MAX_CHECKS

      public void THROW_MAX_CHECKS(int amt)
    • THROW_MAX_CHECKS

      public void THROW_MAX_CHECKS(long amt)
    • THROW_MAX_ITERATIONS

      public void THROW_MAX_ITERATIONS(int amt)
    • THROW_MAX_BLOCKSTATES

      public void THROW_MAX_BLOCKSTATES(int amt)
    • THROW_MAX_ENTITIES

      public void THROW_MAX_ENTITIES(int amt)
    • isUnlimited

      public boolean isUnlimited()
    • getLimitUsed

      public FaweLimit getLimitUsed(FaweLimit originalLimit)
      Get an FaweLimit representing the amount of a limit used from a given "original" limit
      Since:
      2.12.0
    • set

      public void set(FaweLimit limit)
    • copy

      public FaweLimit copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object