Package net.minecraft.block.enums
Enum Class VaultState
- All Implemented Interfaces:
Serializable,Comparable<VaultState>,Constable,StringIdentifiable
- Mappings:
Namespace Name official dmointermediary net/minecraft/class_9206named net/minecraft/block/enums/VaultState
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate final Stringprivate final VaultState.LightFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.private voidejectItem(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier) intprotected voidonChangedFrom(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData) protected voidonChangedTo(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData) voidonStateChange(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData) update(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static VaultStateupdateActiveState(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius) static VaultStateReturns the enum constant of this class with the specified name.static VaultState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INACTIVE
- Mappings:
Namespace Name Mixin selector official aLdmo;a:Ldmo;intermediary field_48899Lnet/minecraft/class_9206;field_48899:Lnet/minecraft/class_9206;named INACTIVELnet/minecraft/block/enums/VaultState;INACTIVE:Lnet/minecraft/block/enums/VaultState;
-
ACTIVE
- Mappings:
Namespace Name Mixin selector official bLdmo;b:Ldmo;intermediary field_48900Lnet/minecraft/class_9206;field_48900:Lnet/minecraft/class_9206;named ACTIVELnet/minecraft/block/enums/VaultState;ACTIVE:Lnet/minecraft/block/enums/VaultState;
-
UNLOCKING
- Mappings:
Namespace Name Mixin selector official cLdmo;c:Ldmo;intermediary field_48901Lnet/minecraft/class_9206;field_48901:Lnet/minecraft/class_9206;named UNLOCKINGLnet/minecraft/block/enums/VaultState;UNLOCKING:Lnet/minecraft/block/enums/VaultState;
-
EJECTING
- Mappings:
Namespace Name Mixin selector official dLdmo;d:Ldmo;intermediary field_48902Lnet/minecraft/class_9206;field_48902:Lnet/minecraft/class_9206;named EJECTINGLnet/minecraft/block/enums/VaultState;EJECTING:Lnet/minecraft/block/enums/VaultState;
-
-
Field Details
-
field_48903
private static final int field_48903- See Also:
- Mappings:
Namespace Name Mixin selector official eLdmo;e:Iintermediary field_48903Lnet/minecraft/class_9206;field_48903:Inamed field_48903Lnet/minecraft/block/enums/VaultState;field_48903:I
-
field_48904
private static final int field_48904- See Also:
- Mappings:
Namespace Name Mixin selector official fLdmo;f:Iintermediary field_48904Lnet/minecraft/class_9206;field_48904:Inamed field_48904Lnet/minecraft/block/enums/VaultState;field_48904:I
-
field_48905
private static final int field_48905- See Also:
- Mappings:
Namespace Name Mixin selector official gLdmo;g:Iintermediary field_48905Lnet/minecraft/class_9206;field_48905:Inamed field_48905Lnet/minecraft/block/enums/VaultState;field_48905:I
-
field_48906
private static final int field_48906- See Also:
- Mappings:
Namespace Name Mixin selector official hLdmo;h:Iintermediary field_48906Lnet/minecraft/class_9206;field_48906:Inamed field_48906Lnet/minecraft/block/enums/VaultState;field_48906:I
-
id
- Mappings:
Namespace Name Mixin selector official iLdmo;i:Ljava/lang/String;intermediary field_48907Lnet/minecraft/class_9206;field_48907:Ljava/lang/String;named idLnet/minecraft/block/enums/VaultState;id:Ljava/lang/String;
-
light
- Mappings:
Namespace Name Mixin selector official jLdmo;j:Ldmo$a;intermediary field_48908Lnet/minecraft/class_9206;field_48908:Lnet/minecraft/class_9206$class_9207;named lightLnet/minecraft/block/enums/VaultState;light:Lnet/minecraft/block/enums/VaultState$Light;
-
-
Constructor Details
-
VaultState
- Mappings:
Namespace Name Mixin selector official <init>Ldmo;<init>(Ljava/lang/String;ILjava/lang/String;Ldmo$a;)Vintermediary <init>Lnet/minecraft/class_9206;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_9206$class_9207;)Vnamed <init>Lnet/minecraft/block/enums/VaultState;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/enums/VaultState$Light;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLaxq;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getLuminance
public int getLuminance()- Mappings:
Namespace Name Mixin selector official aLdmo;a()Iintermediary method_56801Lnet/minecraft/class_9206;method_56801()Inamed getLuminanceLnet/minecraft/block/enums/VaultState;getLuminance()I
-
ejectItem
- Mappings:
Namespace Name Mixin selector official aLdmo;a(Lapf;Lib;Lcqm;F)Vintermediary method_56802Lnet/minecraft/class_9206;method_56802(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;F)Vnamed ejectItemLnet/minecraft/block/enums/VaultState;ejectItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;F)V
-