Add isPowered method

This commit is contained in:
fullwall 2019-12-24 00:39:27 +09:00
parent 5bfb3e0fd7
commit ab4060964c

View File

@ -26,6 +26,10 @@ public class Powered extends Trait implements Toggleable {
((Creeper) npc.getEntity()).setPowered(powered);
}
}
public boolean isPowered() {
return powered;
}
@Override
public boolean toggle() {