Class AnimalID
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.character.AnimalID
- All Implemented Interfaces:
INetworkPacketField
,IPositional
,IDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
float
getX()
float
getY()
float
getZ()
boolean
isConsistent
(UdpConnection arg0) boolean
isRelevant
(UdpConnection arg0) void
parse
(ByteBuffer arg0, UdpConnection arg1) void
toString()
void
write
(ByteBufferWriter arg0) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
Methods inherited from interface zombie.network.fields.IPositional
isInRange
-
Constructor Details
-
AnimalID
public AnimalID()
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classIDShort
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classIDShort
-
getAnimal
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
- Overrides:
isConsistent
in classIDShort
-
toString
-
copy
-
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZ
in interfaceIPositional
-
isRelevant
-