Enum Class World.ExplosionSourceType

java.lang.Object
java.lang.Enum<World.ExplosionSourceType>
net.minecraft.world.World.ExplosionSourceType
All Implemented Interfaces:
Serializable, Comparable<World.ExplosionSourceType>, Constable
Enclosing class:
World

public static enum World.ExplosionSourceType extends Enum<World.ExplosionSourceType>
Mappings:
Namespace Name
official cmm$a
intermediary net/minecraft/class_1937$class_7867
named net/minecraft/world/World$ExplosionSourceType
  • Enum Constant Details

    • NONE

      public static final World.ExplosionSourceType 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

      public static final 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

      public static final 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

      public static final 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

      public static World.ExplosionSourceType[] 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

      public static World.ExplosionSourceType valueOf(String name)
      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 name
      NullPointerException - if the argument is null