public class WaterBreathing extends Handler
| Modifier and Type | Class and Description |
|---|---|
static class |
WaterBreathing.Factory |
| Modifier and Type | Field and Description |
|---|---|
static WaterBreathing.Factory |
FACTORY |
boolean |
waterBreathing |
| Constructor and Description |
|---|
WaterBreathing(Session session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasWaterBreathing() |
static boolean |
set(LocalPlayer player,
Session session,
boolean value) |
void |
setWaterBreathing(boolean waterBreathing) |
getInvincibility, getSession, initialize, onCrossBoundary, testMoveTo, tickpublic static final WaterBreathing.Factory FACTORY
public boolean waterBreathing
public WaterBreathing(Session session)
public boolean hasWaterBreathing()
public void setWaterBreathing(boolean waterBreathing)
public static boolean set(LocalPlayer player, Session session, boolean value)