Package net.minecraft.entity
Enum Class SpawnRestriction.Location
- All Implemented Interfaces:
Serializable
,Comparable<SpawnRestriction.Location>
,Constable
- Enclosing class:
SpawnRestriction
- Mappings:
Namespace Name official bfa$c
intermediary net/minecraft/class_1317$class_1319
named net/minecraft/entity/SpawnRestriction$Location
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpawnRestriction.Location
Returns the enum constant of this class with the specified name.static SpawnRestriction.Location[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_GROUND
- Mappings:
Namespace Name Mixin selector official a
Lbfa$c;a:Lbfa$c;
intermediary field_6317
Lnet/minecraft/class_1317$class_1319;field_6317:Lnet/minecraft/class_1317$class_1319;
named ON_GROUND
Lnet/minecraft/entity/SpawnRestriction$Location;ON_GROUND:Lnet/minecraft/entity/SpawnRestriction$Location;
-
IN_WATER
- Mappings:
Namespace Name Mixin selector official b
Lbfa$c;b:Lbfa$c;
intermediary field_6318
Lnet/minecraft/class_1317$class_1319;field_6318:Lnet/minecraft/class_1317$class_1319;
named IN_WATER
Lnet/minecraft/entity/SpawnRestriction$Location;IN_WATER:Lnet/minecraft/entity/SpawnRestriction$Location;
-
NO_RESTRICTIONS
- Mappings:
Namespace Name Mixin selector official c
Lbfa$c;c:Lbfa$c;
intermediary field_19350
Lnet/minecraft/class_1317$class_1319;field_19350:Lnet/minecraft/class_1317$class_1319;
named NO_RESTRICTIONS
Lnet/minecraft/entity/SpawnRestriction$Location;NO_RESTRICTIONS:Lnet/minecraft/entity/SpawnRestriction$Location;
-
IN_LAVA
- Mappings:
Namespace Name Mixin selector official d
Lbfa$c;d:Lbfa$c;
intermediary field_23221
Lnet/minecraft/class_1317$class_1319;field_23221:Lnet/minecraft/class_1317$class_1319;
named IN_LAVA
Lnet/minecraft/entity/SpawnRestriction$Location;IN_LAVA:Lnet/minecraft/entity/SpawnRestriction$Location;
-
-
Constructor Details
-
Location
private Location()- Mappings:
Namespace Name Mixin selector official <init>
Lbfa$c;<init>(Ljava/lang/String;I)V
intermediary <init>
Lnet/minecraft/class_1317$class_1319;<init>(Ljava/lang/String;I)V
named <init>
Lnet/minecraft/entity/SpawnRestriction$Location;<init>(Ljava/lang/String;I)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
-