Package net.minecraft.particles
Class BasicParticleType
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<ParticleType<?>>
-
- net.minecraft.particles.ParticleType<BasicParticleType>
-
- net.minecraft.particles.BasicParticleType
-
- All Implemented Interfaces:
IParticleData
,IForgeRegistryEntry<ParticleType<?>>
public class BasicParticleType extends ParticleType<BasicParticleType> implements IParticleData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Nested classes/interfaces inherited from interface net.minecraft.particles.IParticleData
IParticleData.IDeserializer<T extends IParticleData>
-
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<BasicParticleType>
codec
private static IParticleData.IDeserializer<BasicParticleType>
DESERIALIZER
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description BasicParticleType(boolean p_i50791_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mojang.serialization.Codec<BasicParticleType>
codec()
BasicParticleType
getType()
void
writeToNetwork(PacketBuffer p_197553_1_)
java.lang.String
writeToString()
-
Methods inherited from class net.minecraft.particles.ParticleType
getDeserializer, getOverrideLimiter
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
DESERIALIZER
private static final IParticleData.IDeserializer<BasicParticleType> DESERIALIZER
-
codec
private final com.mojang.serialization.Codec<BasicParticleType> codec
-
-
Method Detail
-
getType
public BasicParticleType getType()
- Specified by:
getType
in interfaceIParticleData
-
codec
public com.mojang.serialization.Codec<BasicParticleType> codec()
- Specified by:
codec
in classParticleType<BasicParticleType>
-
writeToNetwork
public void writeToNetwork(PacketBuffer p_197553_1_)
- Specified by:
writeToNetwork
in interfaceIParticleData
-
writeToString
public java.lang.String writeToString()
- Specified by:
writeToString
in interfaceIParticleData
-
-