Added setShaking to zombie watcher
This commit is contained in:
		| @@ -28,6 +28,15 @@ public class ZombieWatcher extends LivingWatcher { | |||||||
|         setBaby(true); |         setBaby(true); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     public void setShaking(boolean shaking) { | ||||||
|  |         setValue(14, (byte) (shaking ? 1 : 0)); | ||||||
|  |         sendData(14); | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public boolean isShaking() { | ||||||
|  |         return getValue(14, (byte) 0) == 1; | ||||||
|  |     } | ||||||
|  |  | ||||||
|     public void setBaby(boolean baby) { |     public void setBaby(boolean baby) { | ||||||
|         setValue(12, (byte) (baby ? 1 : 0)); |         setValue(12, (byte) (baby ? 1 : 0)); | ||||||
|         sendData(12); |         sendData(12); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user