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 lw
  • 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 Llw;a:Lcom/mojang/serialization/MapCodec;
    • packetCodec

      private final PacketCodec<RegistryByteBuf,SimpleParticleType> packetCodec
      Mappings:
      Namespace Name Mixin selector
      named packetCodec Lnet/minecraft/particle/SimpleParticleType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48460 Lnet/minecraft/class_2400;field_48460:Lnet/minecraft/class_9139;
      official b Llw;b:Lzt;
  • 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> Llw;<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 Llw;e()Llw;
    • 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 Llr;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 Llr;d()Lzt;