Class DefaultParticleType

java.lang.Object
net.minecraft.particle.ParticleType<DefaultParticleType>
net.minecraft.particle.DefaultParticleType
All Implemented Interfaces:
ParticleEffect

public class DefaultParticleType extends ParticleType<DefaultParticleType> implements ParticleEffect
Mappings:
Namespace Name
official ir
intermediary net/minecraft/class_2400
named net/minecraft/particle/DefaultParticleType
  • Field Details

    • PARAMETER_FACTORY

      private static final ParticleEffect.Factory<DefaultParticleType> PARAMETER_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official a Lir;a:Lim$a;
      intermediary field_11259 Lnet/minecraft/class_2400;field_11259:Lnet/minecraft/class_2394$class_2395;
      named PARAMETER_FACTORY Lnet/minecraft/particle/DefaultParticleType;PARAMETER_FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
    • codec

      private final com.mojang.serialization.Codec<DefaultParticleType> codec
      Mappings:
      Namespace Name Mixin selector
      official b Lir;b:Lcom/mojang/serialization/Codec;
      intermediary field_25127 Lnet/minecraft/class_2400;field_25127:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/particle/DefaultParticleType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • DefaultParticleType

      protected DefaultParticleType(boolean alwaysShow)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lir;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_2400;<init>(Z)V
      named <init> Lnet/minecraft/particle/DefaultParticleType;<init>(Z)V
  • Method Details

    • getType

      public DefaultParticleType getType()
      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official f Lir;f()Lir;
      intermediary method_29140 Lnet/minecraft/class_2400;method_29140()Lnet/minecraft/class_2400;
      named getType Lnet/minecraft/particle/DefaultParticleType;getType()Lnet/minecraft/particle/DefaultParticleType;
    • getCodec

      public com.mojang.serialization.Codec<DefaultParticleType> getCodec()
      Specified by:
      getCodec in class ParticleType<DefaultParticleType>
      Mappings:
      Namespace Name Mixin selector
      official e Lin;e()Lcom/mojang/serialization/Codec;
      intermediary method_29138 Lnet/minecraft/class_2396;method_29138()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/particle/ParticleType;getCodec()Lcom/mojang/serialization/Codec;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a(Lqx;)V
      intermediary method_10294 Lnet/minecraft/class_2394;method_10294(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/particle/ParticleEffect;write(Lnet/minecraft/network/PacketByteBuf;)V
    • asString

      public String asString()
      Specified by:
      asString in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lim;a()Ljava/lang/String;
      intermediary method_10293 Lnet/minecraft/class_2394;method_10293()Ljava/lang/String;
      named asString Lnet/minecraft/particle/ParticleEffect;asString()Ljava/lang/String;