Enum Class FireworkExplosionComponent.Type

java.lang.Object
java.lang.Enum<FireworkExplosionComponent.Type>
net.minecraft.component.type.FireworkExplosionComponent.Type
All Implemented Interfaces:
Serializable, Comparable<FireworkExplosionComponent.Type>, Constable, StringIdentifiable
Enclosing class:
FireworkExplosionComponent

public static enum FireworkExplosionComponent.Type extends Enum<FireworkExplosionComponent.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/component/type/FireworkExplosionComponent$Type
intermediary net/minecraft/class_9283$class_1782
official dad$a
  • Enum Constant Details

    • SMALL_BALL

      public static final FireworkExplosionComponent.Type SMALL_BALL
      Mappings:
      Namespace Name Mixin selector
      named SMALL_BALL Lnet/minecraft/component/type/FireworkExplosionComponent$Type;SMALL_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary field_7976 Lnet/minecraft/class_9283$class_1782;field_7976:Lnet/minecraft/class_9283$class_1782;
      official a Ldad$a;a:Ldad$a;
    • LARGE_BALL

      public static final FireworkExplosionComponent.Type LARGE_BALL
      Mappings:
      Namespace Name Mixin selector
      named LARGE_BALL Lnet/minecraft/component/type/FireworkExplosionComponent$Type;LARGE_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary field_7977 Lnet/minecraft/class_9283$class_1782;field_7977:Lnet/minecraft/class_9283$class_1782;
      official b Ldad$a;b:Ldad$a;
    • STAR

      public static final FireworkExplosionComponent.Type STAR
      Mappings:
      Namespace Name Mixin selector
      named STAR Lnet/minecraft/component/type/FireworkExplosionComponent$Type;STAR:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary field_7973 Lnet/minecraft/class_9283$class_1782;field_7973:Lnet/minecraft/class_9283$class_1782;
      official c Ldad$a;c:Ldad$a;
    • CREEPER

      public static final FireworkExplosionComponent.Type CREEPER
      Mappings:
      Namespace Name Mixin selector
      named CREEPER Lnet/minecraft/component/type/FireworkExplosionComponent$Type;CREEPER:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary field_7974 Lnet/minecraft/class_9283$class_1782;field_7974:Lnet/minecraft/class_9283$class_1782;
      official d Ldad$a;d:Ldad$a;
    • BURST

      public static final FireworkExplosionComponent.Type BURST
      Mappings:
      Namespace Name Mixin selector
      named BURST Lnet/minecraft/component/type/FireworkExplosionComponent$Type;BURST:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary field_7970 Lnet/minecraft/class_9283$class_1782;field_7970:Lnet/minecraft/class_9283$class_1782;
      official e Ldad$a;e:Ldad$a;
  • Field Details

    • BY_ID

      private static final IntFunction<FireworkExplosionComponent.Type> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/component/type/FireworkExplosionComponent$Type;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_7975 Lnet/minecraft/class_9283$class_1782;field_7975:Ljava/util/function/IntFunction;
      official h Ldad$a;h:Ljava/util/function/IntFunction;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,FireworkExplosionComponent.Type> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/component/type/FireworkExplosionComponent$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_49321 Lnet/minecraft/class_9283$class_1782;field_49321:Lnet/minecraft/class_9139;
      official f Ldad$a;f:Lzt;
    • CODEC

      public static final com.mojang.serialization.Codec<FireworkExplosionComponent.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/component/type/FireworkExplosionComponent$Type;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49322 Lnet/minecraft/class_9283$class_1782;field_49322:Lcom/mojang/serialization/Codec;
      official g Ldad$a;g:Lcom/mojang/serialization/Codec;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/component/type/FireworkExplosionComponent$Type;id:I
      intermediary field_7972 Lnet/minecraft/class_9283$class_1782;field_7972:I
      official i Ldad$a;i:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/component/type/FireworkExplosionComponent$Type;name:Ljava/lang/String;
      intermediary field_7971 Lnet/minecraft/class_9283$class_1782;field_7971:Ljava/lang/String;
      official j Ldad$a;j:Ljava/lang/String;
  • Constructor Details

    • Type

      private Type(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/component/type/FireworkExplosionComponent$Type;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_9283$class_1782;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Ldad$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static FireworkExplosionComponent.Type[] 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 FireworkExplosionComponent.Type 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
    • getName

      public MutableText getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/component/type/FireworkExplosionComponent$Type;getName()Lnet/minecraft/text/MutableText;
      intermediary method_7812 Lnet/minecraft/class_9283$class_1782;method_7812()Lnet/minecraft/class_5250;
      official a Ldad$a;a()Lyj;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/component/type/FireworkExplosionComponent$Type;getId()I
      intermediary method_7816 Lnet/minecraft/class_9283$class_1782;method_7816()I
      official b Ldad$a;b()I
    • byId

      public static FireworkExplosionComponent.Type byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/component/type/FireworkExplosionComponent$Type;byId(I)Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
      intermediary method_7813 Lnet/minecraft/class_9283$class_1782;method_7813(I)Lnet/minecraft/class_9283$class_1782;
      official a Ldad$a;a(I)Ldad$a;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;