mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-4650: Charging API for Vex
This commit is contained in:
parent
f102d88299
commit
faa6226959
1 changed files with 10 additions and 0 deletions
|
@ -25,4 +25,14 @@ public class CraftVex extends CraftMonster implements Vex {
|
|||
public EntityType getType() {
|
||||
return EntityType.VEX;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCharging() {
|
||||
return getHandle().dA();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCharging(boolean charging) {
|
||||
getHandle().a(charging);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue