Package net.minecraft.particle
Class SimpleParticleType
- All Implemented Interfaces:
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 Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.MapCodec
<SimpleParticleType> private final PacketCodec
<RegistryByteBuf, SimpleParticleType> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<SimpleParticleType> getCodec()
getType()
Methods inherited from class net.minecraft.particle.ParticleType
shouldAlwaysSpawn
-
Field Details
-
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
- 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
- Specified by:
getType
in interfaceParticleEffect
- 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
- Specified by:
getCodec
in classParticleType<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 classParticleType<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;
-