Package net.minecraft.world.explosion
Enum Class Explosion.DestructionType
- All Implemented Interfaces:
Serializable,Comparable<Explosion.DestructionType>,Constable
- Enclosing interface:
Explosion
- Mappings:
Namespace Name named net/minecraft/world/explosion/Explosion$DestructionTypeintermediary net/minecraft/class_1927$class_4179official dgb$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Explosion.DestructionTypeReturns the enum constant of this class with the specified name.static Explosion.DestructionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEEP
- Mappings:
Namespace Name Mixin selector named KEEPLnet/minecraft/world/explosion/Explosion$DestructionType;KEEP:Lnet/minecraft/world/explosion/Explosion$DestructionType;intermediary field_40878Lnet/minecraft/class_1927$class_4179;field_40878:Lnet/minecraft/class_1927$class_4179;official aLdgb$a;a:Ldgb$a;
-
DESTROY
- Mappings:
Namespace Name Mixin selector named DESTROYLnet/minecraft/world/explosion/Explosion$DestructionType;DESTROY:Lnet/minecraft/world/explosion/Explosion$DestructionType;intermediary field_18687Lnet/minecraft/class_1927$class_4179;field_18687:Lnet/minecraft/class_1927$class_4179;official bLdgb$a;b:Ldgb$a;
-
DESTROY_WITH_DECAY
- Mappings:
Namespace Name Mixin selector named DESTROY_WITH_DECAYLnet/minecraft/world/explosion/Explosion$DestructionType;DESTROY_WITH_DECAY:Lnet/minecraft/world/explosion/Explosion$DestructionType;intermediary field_40879Lnet/minecraft/class_1927$class_4179;field_40879:Lnet/minecraft/class_1927$class_4179;official cLdgb$a;c:Ldgb$a;
-
TRIGGER_BLOCK
- Mappings:
Namespace Name Mixin selector named TRIGGER_BLOCKLnet/minecraft/world/explosion/Explosion$DestructionType;TRIGGER_BLOCK:Lnet/minecraft/world/explosion/Explosion$DestructionType;intermediary field_47331Lnet/minecraft/class_1927$class_4179;field_47331:Lnet/minecraft/class_1927$class_4179;official dLdgb$a;d:Ldgb$a;
-
-
Field Details
-
destroysBlocks
private final boolean destroysBlocks- Mappings:
Namespace Name Mixin selector named destroysBlocksLnet/minecraft/world/explosion/Explosion$DestructionType;destroysBlocks:Zintermediary field_52613Lnet/minecraft/class_1927$class_4179;field_52613:Zofficial eLdgb$a;e:Z
-
-
Constructor Details
-
DestructionType
private DestructionType(boolean destroysBlocks) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/explosion/Explosion$DestructionType;<init>(Ljava/lang/String;IZ)Vintermediary <init>Lnet/minecraft/class_1927$class_4179;<init>(Ljava/lang/String;IZ)Vofficial <init>Ldgb$a;<init>(Ljava/lang/String;IZ)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
-
destroysBlocks
public boolean destroysBlocks()- Mappings:
Namespace Name Mixin selector named destroysBlocksLnet/minecraft/world/explosion/Explosion$DestructionType;destroysBlocks()Zintermediary method_61723Lnet/minecraft/class_1927$class_4179;method_61723()Zofficial aLdgb$a;a()Z
-