Jessica44486
Guest
Member
I am trying to make a simple zombie or armorstand invisible with a special name per player that joins the server, however I did some digging and the usual:
Code (Text):
npc.setInvisible(false);
npc.setCustomName(new ChatComponentText("test"));
Doesn't work apparently, so I need to use:
Code (Text):
PlayerConnection connection = entityPlayer.b;
connection.sendPacket(new PacketPlayOutEntityMetadata(npc.getId(), dataWatcher, false));
But the DataWatcherObject...
NMS DataWatcherObject issues
Continue reading...
Code (Text):
npc.setInvisible(false);
npc.setCustomName(new ChatComponentText("test"));
Doesn't work apparently, so I need to use:
Code (Text):
PlayerConnection connection = entityPlayer.b;
connection.sendPacket(new PacketPlayOutEntityMetadata(npc.getId(), dataWatcher, false));
But the DataWatcherObject...
NMS DataWatcherObject issues
Continue reading...