Package org.geysermc.connector.utils
Class EffectUtils
java.lang.Object
org.geysermc.connector.utils.EffectUtils
Util for particles and effects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetParticleId(GeyserSession session, com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)Used for area effect clouds.
-
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
-