Package net.minecraft.block.enums
Enum Class VaultState
- All Implemented Interfaces:
Serializable
,Comparable<VaultState>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/block/enums/VaultState
intermediary net/minecraft/class_9206
official dry
-
Nested Class Summary
Nested 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
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private final String
private final VaultState.Light
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.private void
ejectItem
(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier) int
protected void
onChangedFrom
(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData) protected void
onChangedTo
(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean ominous) void
onStateChange
(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData, boolean ominous) update
(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static VaultState
updateActiveState
(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius) static VaultState
Returns 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 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
- 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
- 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
- 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
- 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
- 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
- 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
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:
asString
in interfaceStringIdentifiable
- 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
-
ejectItem
- 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
-