Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-4650: Charging API for Vex
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren