Enum Class LAccess

java.lang.Object
java.lang.Enum<LAccess>
mindustry.logic.LAccess
All Implemented Interfaces:
Serializable, Comparable<LAccess>, Constable

public enum LAccess extends Enum<LAccess>
Setter/getter enum for logic-controlled objects.
  • Enum Constant Details

    • totalItems

      public static final LAccess totalItems
    • firstItem

      public static final LAccess firstItem
    • totalLiquids

      public static final LAccess totalLiquids
    • totalPower

      public static final LAccess totalPower
    • itemCapacity

      public static final LAccess itemCapacity
    • liquidCapacity

      public static final LAccess liquidCapacity
    • powerCapacity

      public static final LAccess powerCapacity
    • powerNetStored

      public static final LAccess powerNetStored
    • powerNetCapacity

      public static final LAccess powerNetCapacity
    • powerNetIn

      public static final LAccess powerNetIn
    • powerNetOut

      public static final LAccess powerNetOut
    • ammo

      public static final LAccess ammo
    • ammoCapacity

      public static final LAccess ammoCapacity
    • health

      public static final LAccess health
    • maxHealth

      public static final LAccess maxHealth
    • heat

      public static final LAccess heat
    • shield

      public static final LAccess shield
    • efficiency

      public static final LAccess efficiency
    • progress

      public static final LAccess progress
    • timescale

      public static final LAccess timescale
    • rotation

      public static final LAccess rotation
    • x

      public static final LAccess x
    • y

      public static final LAccess y
    • shootX

      public static final LAccess shootX
    • shootY

      public static final LAccess shootY
    • size

      public static final LAccess size
    • dead

      public static final LAccess dead
    • range

      public static final LAccess range
    • shooting

      public static final LAccess shooting
    • boosting

      public static final LAccess boosting
    • mineX

      public static final LAccess mineX
    • mineY

      public static final LAccess mineY
    • mining

      public static final LAccess mining
    • speed

      public static final LAccess speed
    • team

      public static final LAccess team
    • type

      public static final LAccess type
    • flag

      public static final LAccess flag
    • controlled

      public static final LAccess controlled
    • controller

      public static final LAccess controller
    • name

      public static final LAccess name
    • payloadCount

      public static final LAccess payloadCount
    • payloadType

      public static final LAccess payloadType
    • id

      public static final LAccess id
    • enabled

      public static final LAccess enabled
    • shoot

      public static final LAccess shoot
    • shootp

      public static final LAccess shootp
    • config

      public static final LAccess config
    • color

      public static final LAccess color
  • Field Details

    • params

      public final String[] params
    • isObj

      public final boolean isObj
    • all

      public static final LAccess[] all
    • senseable

      public static final LAccess[] senseable
    • controls

      public static final LAccess[] controls
    • settable

      public static final LAccess[] settable
  • Method Details

    • values

      public static LAccess[] 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 LAccess 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