mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:25:03 +01:00
SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a6bce7bfb4
commit
a257532ba2
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