Package net.minecraft.block.enums
Enum Class VaultState
- All Implemented Interfaces:
Serializable
,Comparable<VaultState>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name official dpu
intermediary net/minecraft/class_9206
named 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 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
Constructors -
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) void
onStateChange
(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData) 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 official a
Ldpu;a:Ldpu;
intermediary field_48899
Lnet/minecraft/class_9206;field_48899:Lnet/minecraft/class_9206;
named INACTIVE
Lnet/minecraft/block/enums/VaultState;INACTIVE:Lnet/minecraft/block/enums/VaultState;
-
ACTIVE
- Mappings:
Namespace Name Mixin selector official b
Ldpu;b:Ldpu;
intermediary field_48900
Lnet/minecraft/class_9206;field_48900:Lnet/minecraft/class_9206;
named ACTIVE
Lnet/minecraft/block/enums/VaultState;ACTIVE:Lnet/minecraft/block/enums/VaultState;
-
UNLOCKING
- Mappings:
Namespace Name Mixin selector official c
Ldpu;c:Ldpu;
intermediary field_48901
Lnet/minecraft/class_9206;field_48901:Lnet/minecraft/class_9206;
named UNLOCKING
Lnet/minecraft/block/enums/VaultState;UNLOCKING:Lnet/minecraft/block/enums/VaultState;
-
EJECTING
- Mappings:
Namespace Name Mixin selector official d
Ldpu;d:Ldpu;
intermediary field_48902
Lnet/minecraft/class_9206;field_48902:Lnet/minecraft/class_9206;
named EJECTING
Lnet/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 e
Ldpu;e:I
intermediary field_48903
Lnet/minecraft/class_9206;field_48903:I
named field_48903
Lnet/minecraft/block/enums/VaultState;field_48903:I
-
field_48904
private static final int field_48904- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldpu;f:I
intermediary field_48904
Lnet/minecraft/class_9206;field_48904:I
named field_48904
Lnet/minecraft/block/enums/VaultState;field_48904:I
-
field_48905
private static final int field_48905- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldpu;g:I
intermediary field_48905
Lnet/minecraft/class_9206;field_48905:I
named field_48905
Lnet/minecraft/block/enums/VaultState;field_48905:I
-
field_48906
private static final int field_48906- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldpu;h:I
intermediary field_48906
Lnet/minecraft/class_9206;field_48906:I
named field_48906
Lnet/minecraft/block/enums/VaultState;field_48906:I
-
id
- Mappings:
Namespace Name Mixin selector official i
Ldpu;i:Ljava/lang/String;
intermediary field_48907
Lnet/minecraft/class_9206;field_48907:Ljava/lang/String;
named id
Lnet/minecraft/block/enums/VaultState;id:Ljava/lang/String;
-
light
- Mappings:
Namespace Name Mixin selector official j
Ldpu;j:Ldpu$a;
intermediary field_48908
Lnet/minecraft/class_9206;field_48908:Lnet/minecraft/class_9206$class_9207;
named light
Lnet/minecraft/block/enums/VaultState;light:Lnet/minecraft/block/enums/VaultState$Light;
-
-
Constructor Details
-
VaultState
- Mappings:
Namespace Name Mixin selector official <init>
Ldpu;<init>(Ljava/lang/String;ILjava/lang/String;Ldpu$a;)V
intermediary <init>
Lnet/minecraft/class_9206;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_9206$class_9207;)V
named <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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Layt;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getLuminance
public int getLuminance()- Mappings:
Namespace Name Mixin selector official a
Ldpu;a()I
intermediary method_56801
Lnet/minecraft/class_9206;method_56801()I
named getLuminance
Lnet/minecraft/block/enums/VaultState;getLuminance()I
-
ejectItem
- Mappings:
Namespace Name Mixin selector official a
Ldpu;a(Laqh;Lin;Lcsz;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
named ejectItem
Lnet/minecraft/block/enums/VaultState;ejectItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;F)V
-