Enum Class VaultState

java.lang.Object
java.lang.Enum<VaultState>
net.minecraft.block.enums.VaultState
All Implemented Interfaces:
Serializable, Comparable<VaultState>, Constable, StringIdentifiable

public enum VaultState extends Enum<VaultState> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/block/enums/VaultState
intermediary net/minecraft/class_9206
official dry
  • Enum Constant Details

    • INACTIVE

      public static final VaultState INACTIVE
      Mappings:
      Namespace Name Mixin selector
      named INACTIVE Lnet/minecraft/block/enums/VaultState;INACTIVE:Lnet/minecraft/block/enums/VaultState;
      intermediary field_48899 Lnet/minecraft/class_9206;field_48899:Lnet/minecraft/class_9206;
      official a Ldry;a:Ldry;
    • ACTIVE

      public static final VaultState ACTIVE
      Mappings:
      Namespace Name Mixin selector
      named ACTIVE Lnet/minecraft/block/enums/VaultState;ACTIVE:Lnet/minecraft/block/enums/VaultState;
      intermediary field_48900 Lnet/minecraft/class_9206;field_48900:Lnet/minecraft/class_9206;
      official b Ldry;b:Ldry;
    • UNLOCKING

      public static final VaultState UNLOCKING
      Mappings:
      Namespace Name Mixin selector
      named UNLOCKING Lnet/minecraft/block/enums/VaultState;UNLOCKING:Lnet/minecraft/block/enums/VaultState;
      intermediary field_48901 Lnet/minecraft/class_9206;field_48901:Lnet/minecraft/class_9206;
      official c Ldry;c:Ldry;
    • EJECTING

      public static final VaultState EJECTING
      Mappings:
      Namespace Name Mixin selector
      named EJECTING Lnet/minecraft/block/enums/VaultState;EJECTING:Lnet/minecraft/block/enums/VaultState;
      intermediary field_48902 Lnet/minecraft/class_9206;field_48902:Lnet/minecraft/class_9206;
      official d Ldry;d:Ldry;
  • Field Details

    • field_48903

      private static final int field_48903
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48903 Lnet/minecraft/block/enums/VaultState;field_48903:I
      intermediary field_48903 Lnet/minecraft/class_9206;field_48903:I
      official e Ldry;e:I
    • field_48904

      private static final int field_48904
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48904 Lnet/minecraft/block/enums/VaultState;field_48904:I
      intermediary field_48904 Lnet/minecraft/class_9206;field_48904:I
      official f Ldry;f:I
    • field_48905

      private static final int field_48905
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48905 Lnet/minecraft/block/enums/VaultState;field_48905:I
      intermediary field_48905 Lnet/minecraft/class_9206;field_48905:I
      official g Ldry;g:I
    • field_48906

      private static final int field_48906
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48906 Lnet/minecraft/block/enums/VaultState;field_48906:I
      intermediary field_48906 Lnet/minecraft/class_9206;field_48906:I
      official h Ldry;h:I
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/block/enums/VaultState;id:Ljava/lang/String;
      intermediary field_48907 Lnet/minecraft/class_9206;field_48907:Ljava/lang/String;
      official i Ldry;i:Ljava/lang/String;
    • light

      private final VaultState.Light light
      Mappings:
      Namespace Name Mixin selector
      named light Lnet/minecraft/block/enums/VaultState;light:Lnet/minecraft/block/enums/VaultState$Light;
      intermediary field_48908 Lnet/minecraft/class_9206;field_48908:Lnet/minecraft/class_9206$class_9207;
      official j Ldry;j:Ldry$a;
  • Constructor Details

    • VaultState

      private VaultState(String id, VaultState.Light light)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/enums/VaultState;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/enums/VaultState$Light;)V
      intermediary <init> Lnet/minecraft/class_9206;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_9206$class_9207;)V
      official <init> Ldry;<init>(Ljava/lang/String;ILjava/lang/String;Ldry$a;)V
  • Method Details

    • values

      public static VaultState[] 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 VaultState 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazc;c()Ljava/lang/String;
    • getLuminance

      public int getLuminance()
      Mappings:
      Namespace Name Mixin selector
      named getLuminance Lnet/minecraft/block/enums/VaultState;getLuminance()I
      intermediary method_56801 Lnet/minecraft/class_9206;method_56801()I
      official a Ldry;a()I
    • update

      public VaultState update(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/block/enums/VaultState;update(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/block/vault/VaultSharedData;)Lnet/minecraft/block/enums/VaultState;
      intermediary method_56803 Lnet/minecraft/class_9206;method_56803(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_9203;Lnet/minecraft/class_9204;Lnet/minecraft/class_9205;)Lnet/minecraft/class_9206;
      official a Ldry;a(Laqm;Lja;Ldrv;Ldrw;Ldrx;)Ldry;
    • updateActiveState

      private static VaultState updateActiveState(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius)
      Mappings:
      Namespace Name Mixin selector
      named updateActiveState Lnet/minecraft/block/enums/VaultState;updateActiveState(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/block/vault/VaultSharedData;D)Lnet/minecraft/block/enums/VaultState;
      intermediary method_56804 Lnet/minecraft/class_9206;method_56804(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_9203;Lnet/minecraft/class_9204;Lnet/minecraft/class_9205;D)Lnet/minecraft/class_9206;
      official a Ldry;a(Laqm;Lja;Ldrv;Ldrw;Ldrx;D)Ldry;
    • onStateChange

      public void onStateChange(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData, boolean ominous)
      Mappings:
      Namespace Name Mixin selector
      named onStateChange Lnet/minecraft/block/enums/VaultState;onStateChange(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/VaultState;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultSharedData;Z)V
      intermediary method_56806 Lnet/minecraft/class_9206;method_56806(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_9206;Lnet/minecraft/class_9203;Lnet/minecraft/class_9205;Z)V
      official a Ldry;a(Laqm;Lja;Ldry;Ldrv;Ldrx;Z)V
    • onChangedTo

      protected void onChangedTo(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean ominous)
      Mappings:
      Namespace Name Mixin selector
      named onChangedTo Lnet/minecraft/block/enums/VaultState;onChangedTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultSharedData;Z)V
      intermediary method_56805 Lnet/minecraft/class_9206;method_56805(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_9203;Lnet/minecraft/class_9205;Z)V
      official a Ldry;a(Laqm;Lja;Ldrv;Ldrx;Z)V
    • onChangedFrom

      protected void onChangedFrom(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData)
      Mappings:
      Namespace Name Mixin selector
      named onChangedFrom Lnet/minecraft/block/enums/VaultState;onChangedFrom(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultSharedData;)V
      intermediary method_56808 Lnet/minecraft/class_9206;method_56808(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_9203;Lnet/minecraft/class_9205;)V
      official a Ldry;a(Laqm;Lja;Ldrv;Ldrx;)V
    • ejectItem

      private void ejectItem(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier)
      Mappings:
      Namespace Name Mixin selector
      named ejectItem Lnet/minecraft/block/enums/VaultState;ejectItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;F)V
      intermediary method_56802 Lnet/minecraft/class_9206;method_56802(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;F)V
      official a Ldry;a(Laqm;Lja;Lcud;F)V