Package net.minecraft.world
Enum Class World.ExplosionSourceType
- All Implemented Interfaces:
Serializable,Comparable<World.ExplosionSourceType>,Constable
- Enclosing class:
World
- Mappings:
Namespace Name official cpv$aintermediary net/minecraft/class_1937$class_7867named 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
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic World.ExplosionSourceTypeReturns 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 aLcpv$a;a:Lcpv$a;intermediary field_40888Lnet/minecraft/class_1937$class_7867;field_40888:Lnet/minecraft/class_1937$class_7867;named NONELnet/minecraft/world/World$ExplosionSourceType;NONE:Lnet/minecraft/world/World$ExplosionSourceType;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official bLcpv$a;b:Lcpv$a;intermediary field_40889Lnet/minecraft/class_1937$class_7867;field_40889:Lnet/minecraft/class_1937$class_7867;named BLOCKLnet/minecraft/world/World$ExplosionSourceType;BLOCK:Lnet/minecraft/world/World$ExplosionSourceType;
-
MOB
- Mappings:
Namespace Name Mixin selector official cLcpv$a;c:Lcpv$a;intermediary field_40890Lnet/minecraft/class_1937$class_7867;field_40890:Lnet/minecraft/class_1937$class_7867;named MOBLnet/minecraft/world/World$ExplosionSourceType;MOB:Lnet/minecraft/world/World$ExplosionSourceType;
-
TNT
- Mappings:
Namespace Name Mixin selector official dLcpv$a;d:Lcpv$a;intermediary field_40891Lnet/minecraft/class_1937$class_7867;field_40891:Lnet/minecraft/class_1937$class_7867;named TNTLnet/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
-