Package btw.network.packet
Class GameruleSyncPacket
java.lang.Object
net.minecraft.src.Packet
btw.network.packet.GameruleSyncPacket
-
Field Summary
FieldsFields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAbstract.voidprocessPacket(NetHandler netHandler) Passes this Packet on to the NetHandler for processing.voidreadPacketData(DataInput dataInput) Abstract.voidwritePacketData(DataOutput dataOutput) Abstract.Methods inherited from class net.minecraft.src.Packet
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
Field Details
-
gameRuleValue
-
gameRuleName
-
-
Constructor Details
-
GameruleSyncPacket
-
GameruleSyncPacket
public GameruleSyncPacket()
-
-
Method Details
-
readPacketData
Description copied from class:PacketAbstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
IOException
-
writePacketData
Description copied from class:PacketAbstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
IOException
-
processPacket
Description copied from class:PacketPasses this Packet on to the NetHandler for processing.- Specified by:
processPacketin classPacket
-
getPacketSize
public int getPacketSize()Description copied from class:PacketAbstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-