/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { EntityID = datainputstream.ReadInt(); UnknownByte = datainputstream.ReadByte(); EntityX = datainputstream.ReadInt(); EntityY = datainputstream.ReadByte(); EntityZ = datainputstream.ReadInt(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xLocation = datainputstream.ReadInt(); yLocation = datainputstream.ReadShort(); zLocation = datainputstream.ReadInt(); instrumentType = datainputstream.Read(); pitch = datainputstream.Read(); }
// Referenced classes of package net.minecraft.src: // Packet, NetHandler /// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { status = datainputstream.Read(); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.Read(); zPosition = datainputstream.ReadInt(); face = datainputstream.Read(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { SoundType = datainputstream.ReadInt(); BlockX = datainputstream.ReadInt(); BlockY = datainputstream.ReadByte(); BlockZ = datainputstream.ReadInt(); ExtraInfo = datainputstream.ReadInt(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xPosition = datainputstream.ReadInt(); yPosition = datainputstream.Read(); zPosition = datainputstream.ReadInt(); type = datainputstream.Read(); metadata = datainputstream.Read(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); yaw = unchecked ((byte)datainputstream.Read()); pitch = unchecked ((byte)datainputstream.Read()); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); title = ReadString(datainputstream, net.minecraft.src.EnumArt.LongestNameLength); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); direction = datainputstream.ReadInt(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadShort(); zPosition = datainputstream.ReadInt(); signLines = new string[4]; for (int i = 0; i < 4; i++) { signLines[i] = ReadString(datainputstream, 15); } }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); name = ReadString(datainputstream, 16); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); rotation = datainputstream.ReadByte(); pitch = datainputstream.ReadByte(); currentItem = datainputstream.ReadShort(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); type = datainputstream.ReadByte(); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); yaw = datainputstream.ReadByte(); pitch = datainputstream.ReadByte(); receivedMetadata = net.minecraft.src.DataWatcher.ReadWatchableObjects(datainputstream ); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); itemID = datainputstream.ReadShort(); count = datainputstream.ReadByte(); itemDamage = datainputstream.ReadShort(); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); rotation = datainputstream.ReadByte(); pitch = datainputstream.ReadByte(); roll = datainputstream.ReadByte(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); size = datainputstream.ReadShort(); coordinateArray = new short[size]; typeArray = new byte[size]; metadataArray = new byte[size]; for (int i = 0; i < size; i++) { coordinateArray[i] = datainputstream.ReadShort(); } datainputstream.ReadFully(typeArray); datainputstream.ReadFully(metadataArray); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); type = datainputstream.ReadByte(); xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); zPosition = datainputstream.ReadInt(); ownerId = datainputstream.ReadInt(); if (ownerId > 0) { motionX = datainputstream.ReadShort(); motionY = datainputstream.ReadShort(); motionZ = datainputstream.ReadShort(); } }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityID = datainputstream.ReadInt(); slot = datainputstream.ReadShort(); itemID = datainputstream.ReadShort(); itemDamage = datainputstream.ReadShort(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); motionX = datainputstream.ReadShort(); motionY = datainputstream.ReadShort(); motionZ = datainputstream.ReadShort(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { protocolVersion = datainputstream.ReadInt(); username = ReadString(datainputstream, 16); mapSeed = datainputstream.ReadLong(); dimension = datainputstream.ReadByte(); }
// Referenced classes of package net.minecraft.src: // Packet, ItemStack, NetHandler /// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xPosition = datainputstream.ReadInt(); yPosition = datainputstream.Read(); zPosition = datainputstream.ReadInt(); direction = datainputstream.Read(); short word0 = datainputstream.ReadShort(); if (word0 >= 0) { byte byte0 = datainputstream.ReadByte(); short word1 = datainputstream.ReadShort(); itemStack = new net.minecraft.src.ItemStack(word0, byte0, word1); } else { itemStack = null; } }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { explosionX = datainputstream.ReadDouble(); explosionY = datainputstream.ReadDouble(); explosionZ = datainputstream.ReadDouble(); explosionSize = datainputstream.ReadFloat(); int i = datainputstream.ReadInt(); destroyedBlockPositions = new HashSet <ChunkPosition>(); int j = (int)explosionX; int k = (int)explosionY; int l = (int)explosionZ; for (int i1 = 0; i1 < i; i1++) { int j1 = datainputstream.ReadByte() + j; int k1 = datainputstream.ReadByte() + k; int l1 = datainputstream.ReadByte() + l; destroyedBlockPositions.Add(new net.minecraft.src.ChunkPosition(j1, k1, l1)); } }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); field_21018_b = net.minecraft.src.DataWatcher.ReadWatchableObjects(datainputstream); }
/// <exception cref="System.IO.IOException"/> public static List <WatchableObject> ReadWatchableObjects(java.io.DataInputStream datainputstream) { List <WatchableObject> arraylist = null; for (byte byte0 = datainputstream.ReadByte(); byte0 != 127; byte0 = datainputstream .ReadByte()) { if (arraylist == null) { arraylist = new List <WatchableObject>(); } int i = (byte0 & 0xe0) >> 5; int j = byte0 & 0x1f; net.minecraft.src.WatchableObject watchableobject = null; switch (i) { case 0: { // '\0' watchableobject = new net.minecraft.src.WatchableObject(i, j, datainputstream.ReadByte()); break; } case 1: { // '\001' watchableobject = new net.minecraft.src.WatchableObject(i, j, datainputstream.ReadShort()); break; } case 2: { // '\002' watchableobject = new net.minecraft.src.WatchableObject(i, j, datainputstream.ReadInt()); break; } case 3: { // '\003' watchableobject = new net.minecraft.src.WatchableObject(i, j, datainputstream.ReadFloat()); break; } case 4: { // '\004' watchableobject = new net.minecraft.src.WatchableObject(i, j, net.minecraft.src.Packet.ReadString(datainputstream, 64)); break; } case 5: { // '\005' short word0 = datainputstream.ReadShort(); byte byte1 = datainputstream.ReadByte(); short word1 = datainputstream.ReadShort(); watchableobject = new net.minecraft.src.WatchableObject(i, j, new net.minecraft.src.ItemStack (word0, byte1, word1)); break; } case 6: { // '\006' int k = datainputstream.ReadInt(); int l = datainputstream.ReadInt(); int i1 = datainputstream.ReadInt(); watchableobject = new net.minecraft.src.WatchableObject(i, j, new net.minecraft.src.ChunkCoordinates (k, l, i1)); break; } } arraylist.Add(watchableobject); } return(arraylist); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { xPosition = datainputstream.ReadInt(); yPosition = datainputstream.ReadInt(); mode = datainputstream.Read() != 0; }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { collectedEntityId = datainputstream.ReadInt(); collectorEntityId = datainputstream.ReadInt(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { statId = datainputstream.ReadInt(); statValue = datainputstream.ReadByte(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); animate = datainputstream.ReadByte(); }
// Referenced classes of package net.minecraft.src: // Packet, NetHandler /// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { playerEntityId = datainputstream.ReadInt(); targetEntity = datainputstream.ReadInt(); isLeftClick = datainputstream.ReadByte(); }
/// <exception cref="System.IO.IOException"/> public override void ReadPacketData(java.io.DataInputStream datainputstream) { entityId = datainputstream.ReadInt(); vehicleEntityId = datainputstream.ReadInt(); }