Add ignited for creeper, seems to be the only change. Idk what this does exactly for a disguise yet
This commit is contained in:
parent
857669fa86
commit
d1f1610d41
@ -12,6 +12,10 @@ public class CreeperWatcher extends LivingWatcher {
|
|||||||
return (Byte) getValue(16, (byte) 0) == 1;
|
return (Byte) getValue(16, (byte) 0) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isIgnited() {
|
||||||
|
return (Byte) getValue(18, (byte) 0) == 1;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isPowered() {
|
public boolean isPowered() {
|
||||||
return (Byte) getValue(17, (byte) 0) == 1;
|
return (Byte) getValue(17, (byte) 0) == 1;
|
||||||
}
|
}
|
||||||
@ -27,6 +31,11 @@ public class CreeperWatcher extends LivingWatcher {
|
|||||||
sendData(16);
|
sendData(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setIgnited(boolean ignited) {
|
||||||
|
setValue(18, (byte) (ignited ? 1 : 0));
|
||||||
|
sendData(18);
|
||||||
|
}
|
||||||
|
|
||||||
public void setPowered(boolean powered) {
|
public void setPowered(boolean powered) {
|
||||||
setValue(17, (byte) (powered ? 1 : 0));
|
setValue(17, (byte) (powered ? 1 : 0));
|
||||||
sendData(17);
|
sendData(17);
|
||||||
|
Loading…
Reference in New Issue
Block a user