Package net.minecraft.particle
Class DefaultParticleType
- All Implemented Interfaces:
ParticleEffect
public class DefaultParticleType extends ParticleType<DefaultParticleType> implements ParticleEffect
- Mappings:
Namespace Name official hm
intermediary net/minecraft/class_2400
named net/minecraft/particle/DefaultParticleType
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect>
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<DefaultParticleType>
codec
private static ParticleEffect.Factory<DefaultParticleType>
PARAMETER_FACTORY
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultParticleType(boolean alwaysShow)
-
Method Summary
Modifier and Type Method Description String
asString()
com.mojang.serialization.Codec<DefaultParticleType>
getCodec()
DefaultParticleType
getType()
void
write(PacketByteBuf buf)
Methods inherited from class net.minecraft.particle.ParticleType
getParametersFactory, shouldAlwaysSpawn
-
Field Details
-
PARAMETER_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lhm;a:Lhj$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
- Mappings:
Namespace Name Mixin selector official b
Lhm;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>
Lhm;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_2400;<init>(Z)V
named <init>
Lnet/minecraft/particle/DefaultParticleType;<init>(Z)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official f
Lhm;f()Lhm;
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
- Specified by:
getCodec
in classParticleType<DefaultParticleType>
- Mappings:
Namespace Name Mixin selector official e
Lhk;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
- Specified by:
write
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lhj;a(Lnw;)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
- Specified by:
asString
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lhj;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;
-