Class EntityEffectCache
java.lang.Object
org.geysermc.geyser.session.cache.EntityEffectCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Set<com.github.steveice10.mc.protocol.data.game.entity.Effect>
Used to clear effects on dimension switch.int
getHaste()
int
void
removeEffect(com.github.steveice10.mc.protocol.data.game.entity.Effect effect)
void
setEffect(com.github.steveice10.mc.protocol.data.game.entity.Effect effect, int effectAmplifier)
-
Constructor Details
-
EntityEffectCache
public EntityEffectCache()
-
-
Method Details
-
setEffect
public void setEffect(com.github.steveice10.mc.protocol.data.game.entity.Effect effect, int effectAmplifier) -
removeEffect
public void removeEffect(com.github.steveice10.mc.protocol.data.game.entity.Effect effect) -
getEntityEffects
Used to clear effects on dimension switch. -
getConduitPower
public int getConduitPower() -
getHaste
public int getHaste() -
getMiningFatigue
public int getMiningFatigue()
-