Class SimpleParticleType

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

public class SimpleParticleType extends ParticleType<SimpleParticleType> implements ParticleEffect
A particle type representing a particle with no additional parameters.

Because no additional parameters can be provided, this particle type itself implements ParticleEffect and can be passed to methods which accept particle parameters.

Mappings:
Namespace Name
named net/minecraft/particle/SimpleParticleType
intermediary net/minecraft/class_2400
official lm
  • Field Details

    • codec

      private final com.mojang.serialization.MapCodec<SimpleParticleType> codec
      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/particle/SimpleParticleType;codec:Lcom/mojang/serialization/MapCodec;
      intermediary field_25127 Lnet/minecraft/class_2400;field_25127:Lcom/mojang/serialization/MapCodec;
      official a Llm;a:Lcom/mojang/serialization/MapCodec;
    • PACKET_CODEC

      private final PacketCodec<RegistryByteBuf,SimpleParticleType> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/particle/SimpleParticleType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48460 Lnet/minecraft/class_2400;field_48460:Lnet/minecraft/class_9139;
      official b Llm;b:Lzn;
  • Constructor Details

    • SimpleParticleType

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

    • getType

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

      public com.mojang.serialization.MapCodec<SimpleParticleType> getCodec()
      Specified by:
      getCodec in class ParticleType<SimpleParticleType>
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/particle/ParticleType;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_29138 Lnet/minecraft/class_2396;method_29138()Lcom/mojang/serialization/MapCodec;
      official c Llh;c()Lcom/mojang/serialization/MapCodec;
    • getPacketCodec

      Specified by:
      getPacketCodec in class ParticleType<SimpleParticleType>
      Mappings:
      Namespace Name Mixin selector
      named getPacketCodec Lnet/minecraft/particle/ParticleType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_56179 Lnet/minecraft/class_2396;method_56179()Lnet/minecraft/class_9139;
      official d Llh;d()Lzn;