Class GenericParticleData
java.lang.Object
com.idark.valoria.client.particle.types.GenericParticleData
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
public class GenericParticleData
extends Object
implements net.minecraft.core.particles.ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
net.minecraft.core.particles.ParticleOptions.Deserializer<T extends net.minecraft.core.particles.ParticleOptions>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.core.particles.ParticleOptions.Deserializer<GenericParticleData>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<GenericParticleData>
codecFor
(net.minecraft.core.particles.ParticleType<?> type) net.minecraft.core.particles.ParticleType<?>
getType()
void
writeToNetwork
(net.minecraft.network.FriendlyByteBuf buffer)
-
Field Details
-
DESERIALIZER
public static final net.minecraft.core.particles.ParticleOptions.Deserializer<GenericParticleData> DESERIALIZER
-
-
Constructor Details
-
GenericParticleData
public GenericParticleData(net.minecraft.core.particles.ParticleType<?> type)
-
-
Method Details
-
codecFor
public static com.mojang.serialization.Codec<GenericParticleData> codecFor(net.minecraft.core.particles.ParticleType<?> type) -
getType
public net.minecraft.core.particles.ParticleType<?> getType()- Specified by:
getType
in interfacenet.minecraft.core.particles.ParticleOptions
-
writeToNetwork
public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writeToNetwork
in interfacenet.minecraft.core.particles.ParticleOptions
-
writeToString
- Specified by:
writeToString
in interfacenet.minecraft.core.particles.ParticleOptions
-