Class ParticleCreator

java.lang.Object
net.minestom.server.particle.ParticleCreator

public class ParticleCreator
extends java.lang.Object
Small utils class to create particle packet
  • Constructor Summary

    Constructors 
    Constructor Description
    ParticleCreator()  
  • Method Summary

    Modifier and Type Method Description
    static ParticlePacket createParticlePacket​(Particle particle, boolean distance, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float particleData, int count, java.util.function.Consumer<BinaryWriter> dataWriter)  
    static ParticlePacket createParticlePacket​(Particle particle, double x, double y, double z, float offsetX, float offsetY, float offsetZ, int count)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait