@Override
 public void write(NetOutput out) throws IOException {
   out.writeByte(this.windowId);
   out.writeShort(this.property);
   out.writeShort(this.value);
 }
 @Override
 public void write(NetOutput out) throws IOException {
   out.writeByte(this.notification.ordinal());
   out.writeFloat(this.valueToFloat(this.value));
 }