Package net.minecraft.world
Enum Class World.ExplosionSourceType
- All Implemented Interfaces:
Serializable
,Comparable<World.ExplosionSourceType>
,Constable
- Enclosing class:
World
- Mappings:
Namespace Name official cmm$a
intermediary net/minecraft/class_1937$class_7867
named net/minecraft/world/World$ExplosionSourceType
-
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 World.ExplosionSourceType
Returns the enum constant of this class with the specified name.static World.ExplosionSourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lcmm$a;a:Lcmm$a;
intermediary field_40888
Lnet/minecraft/class_1937$class_7867;field_40888:Lnet/minecraft/class_1937$class_7867;
named NONE
Lnet/minecraft/world/World$ExplosionSourceType;NONE:Lnet/minecraft/world/World$ExplosionSourceType;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official b
Lcmm$a;b:Lcmm$a;
intermediary field_40889
Lnet/minecraft/class_1937$class_7867;field_40889:Lnet/minecraft/class_1937$class_7867;
named BLOCK
Lnet/minecraft/world/World$ExplosionSourceType;BLOCK:Lnet/minecraft/world/World$ExplosionSourceType;
-
MOB
- Mappings:
Namespace Name Mixin selector official c
Lcmm$a;c:Lcmm$a;
intermediary field_40890
Lnet/minecraft/class_1937$class_7867;field_40890:Lnet/minecraft/class_1937$class_7867;
named MOB
Lnet/minecraft/world/World$ExplosionSourceType;MOB:Lnet/minecraft/world/World$ExplosionSourceType;
-
TNT
- Mappings:
Namespace Name Mixin selector official d
Lcmm$a;d:Lcmm$a;
intermediary field_40891
Lnet/minecraft/class_1937$class_7867;field_40891:Lnet/minecraft/class_1937$class_7867;
named TNT
Lnet/minecraft/world/World$ExplosionSourceType;TNT:Lnet/minecraft/world/World$ExplosionSourceType;
-
-
Constructor Details
-
ExplosionSourceType
private ExplosionSourceType()
-
-
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
-