Class EffectUtils

java.lang.Object
org.geysermc.connector.utils.EffectUtils

public class EffectUtils extends Object
Util for particles and effects.
  • Constructor Details

    • EffectUtils

      public EffectUtils()
  • Method Details

    • getParticleId

      public static int getParticleId(GeyserSession session, @Nonnull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)
      Used for area effect clouds.
      Parameters:
      type - the Java particle to search for
      Returns:
      the Bedrock integer ID of the particle, or -1 if it does not exist