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 drr
  • 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 Ldrr;a:Ldrr;
    • 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 Ldrr;b:Ldrr;
    • 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 Ldrr;c:Ldrr;
    • 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 Ldrr;d:Ldrr;
  • 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 Ldrr;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 Ldrr;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 Ldrr;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 Ldrr;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 Ldrr;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 Ldrr;j:Ldrr$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> Ldrr;<init>(Ljava/lang/String;ILjava/lang/String;Ldrr$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 Lazu;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 Ldrr;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 Ldrr;a(Larf;Liz;Ldro;Ldrp;Ldrq;)Ldrr;
    • 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 Ldrr;a(Larf;Liz;Ldro;Ldrp;Ldrq;D)Ldrr;
    • 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 Ldrr;a(Larf;Liz;Ldrr;Ldro;Ldrq;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 Ldrr;a(Larf;Liz;Ldro;Ldrq;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 Ldrr;a(Larf;Liz;Ldro;Ldrq;)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 Ldrr;a(Larf;Liz;Lcur;F)V