Class AnimalPacket
java.lang.Object
zombie.network.packets.character.AnimalPacket
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
,INetworkPacket
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionshort
float
float
byte
byte
final PFBData
byte
float
float
float
int
float
float
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(ByteBuffer var1, UdpConnection var2) void
void
write
(ByteBufferWriter var1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync, tryProcessInternal
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
realX
public float realX -
realY
public float realY -
realZ
public float realZ -
realDirection
public byte realDirection -
x
public float x -
y
public float y -
z
public float z -
direction
public float direction -
alertedID
public short alertedID -
type
-
breed
-
idle
-
stateVariables
public int stateVariables -
pfbData
-
health
public float health -
existanceType
-
vehicleID
-
hutchNestBox
public byte hutchNestBox -
hutchPosition
public byte hutchPosition
-
-
Constructor Details
-
AnimalPacket
public AnimalPacket()
-
-
Method Details
-
reset
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-