mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 21:17:32 +00:00
Added player rotations/pivots/animations, similar to NPC's.
This commit is contained in:
1 parent
d638c98d81
commit
51263a9f82
13 files changed
+726
-10
No files matched your search
@@ -292,6 +292,13 @@ public class PacketHandlerClient extends PacketHandlerServer{
|
||||
NoppesUtil.updateSkinOverlayData(sendingPlayer, compound);
|
||||
}
|
||||
}
|
||||
else if(type == EnumPacketClient.PLAYER_UPDATE_MODEL_DATA) {
|
||||
EntityPlayer sendingPlayer = Minecraft.getMinecraft().theWorld.getPlayerEntityByName(Server.readString(buffer));
|
||||
NBTTagCompound compound = Server.readNBT(buffer);
|
||||
if (sendingPlayer != null) {
|
||||
NoppesUtil.updatePlayerModelData(sendingPlayer, compound);
|
||||
}
|
||||
}
|
||||
else if(type == EnumPacketClient.DISABLE_MOUSE_INPUT) {
|
||||
long length = buffer.readLong();
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user