@Override public void sendMetaData(Player player, FakeEntity entity) { DataWatcher watcher = new DataWatcher(getHandle(entity.getEntity())); watcher.a(5, 32); watcher.a(6, entity.getHealth()); watcher.a(7, Integer.valueOf(0)); watcher.a(8, (byte) 0); watcher.a(10, entity.getName()); watcher.a(11, (byte) 1); PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), watcher, true); sendPacket(player, packet); }
@Override public boolean a() { return _watcher.a(); }
@Override public void a(PacketDataSerializer packetdataserializer) throws IOException { _watcher.a(packetdataserializer); }
@Override public <T> void a(int i, T t0) { _watcher.a(i, t0); }