SPIGOT-4650: Charging API for Vex
This commit is contained in:
parent
f102d88299
commit
faa6226959
@ -25,4 +25,14 @@ public class CraftVex extends CraftMonster implements Vex {
|
|||||||
public EntityType getType() {
|
public EntityType getType() {
|
||||||
return EntityType.VEX;
|
return EntityType.VEX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isCharging() {
|
||||||
|
return getHandle().dA();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setCharging(boolean charging) {
|
||||||
|
getHandle().a(charging);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user