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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.core.particles.ParticleOptions.Deserializer<GenericParticleData>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GenericParticleData(net.minecraft.core.particles.ParticleType<?> type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.serialization.Codec<GenericParticleData>
    codecFor(net.minecraft.core.particles.ParticleType<?> type)
     
    net.minecraft.core.particles.ParticleType<?>
     
    void
    writeToNetwork(net.minecraft.network.FriendlyByteBuf buffer)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface net.minecraft.core.particles.ParticleOptions
    • writeToNetwork

      public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      writeToNetwork in interface net.minecraft.core.particles.ParticleOptions
    • writeToString

      public String writeToString()
      Specified by:
      writeToString in interface net.minecraft.core.particles.ParticleOptions