Class ParticleType<T extends ParticleEffect>

java.lang.Object
net.minecraft.particle.ParticleType<T>
Direct Known Subclasses:
SimpleParticleType

public abstract class ParticleType<T extends ParticleEffect> extends Object
Mappings:
Namespace Name
named net/minecraft/particle/ParticleType
intermediary net/minecraft/class_2396
official ll
  • Field Details

    • alwaysShow

      private final boolean alwaysShow
      Mappings:
      Namespace Name Mixin selector
      named alwaysShow Lnet/minecraft/particle/ParticleType;alwaysShow:Z
      intermediary field_11196 Lnet/minecraft/class_2396;field_11196:Z
      official a Lll;a:Z
  • Constructor Details

    • ParticleType

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

    • shouldAlwaysSpawn

      public boolean shouldAlwaysSpawn()
      Mappings:
      Namespace Name Mixin selector
      named shouldAlwaysSpawn Lnet/minecraft/particle/ParticleType;shouldAlwaysSpawn()Z
      intermediary method_10299 Lnet/minecraft/class_2396;method_10299()Z
      official b Lll;b()Z
    • getCodec

      public abstract com.mojang.serialization.MapCodec<T> getCodec()
      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 Lll;c()Lcom/mojang/serialization/MapCodec;
    • getPacketCodec

      public abstract PacketCodec<? super RegistryByteBuf,T> getPacketCodec()
      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 Lll;d()Lyx;