public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); LevelType = stream.ReadString(); GameMode = (GameMode)stream.ReadUInt8(); Dimension = (Dimension)stream.ReadInt8(); Difficulty = (Difficulty)stream.ReadUInt8(); Discarded = stream.ReadUInt8(); MaxPlayers = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { ChunkX = stream.ReadInt32(); ChunkZ = stream.ReadInt32(); RecordCount = stream.ReadInt16(); stream.ReadInt32(); Data = stream.ReadInt32Array(RecordCount); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Type = stream.ReadUInt8(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); Yaw = stream.ReadUInt8(); Pitch = stream.ReadUInt8(); HeadYaw = stream.ReadUInt8(); VelocityX = stream.ReadInt16(); VelocityY = stream.ReadInt16(); VelocityZ = stream.ReadInt16(); Metadata = MetadataDictionary.FromStream(stream); }
public void ReadPacket(MinecraftStream stream) { ItemId = stream.ReadInt32(); PlayerId = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Action = (EntityAction)stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { Dimension = (Dimension)stream.ReadInt32(); Difficulty = (Difficulty)stream.ReadInt8(); GameMode = (GameMode)stream.ReadInt8(); WorldHeight = stream.ReadInt16(); LevelType = stream.ReadString(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadUInt8(); Z = stream.ReadInt32(); Direction = stream.ReadUInt8(); HeldItem = ItemStack.FromStream(stream); CursorX = stream.ReadUInt8(); CursorY = stream.ReadUInt8(); CursorZ = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); X = stream.ReadInt32(); Y = stream.ReadUInt8(); Z = stream.ReadInt32(); Data = stream.ReadInt32(); DisableRelativeVolume = stream.ReadBoolean(); }
public void ReadPacket(MinecraftStream stream) { SoundName = stream.ReadString(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); Volume = stream.ReadSingle(); Pitch = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { ChunkCount = stream.ReadInt16(); var length = stream.ReadInt32(); LightIncluded = stream.ReadBoolean(); ChunkData = stream.ReadUInt8Array(length); ChunkMetadata = stream.ReadUInt8Array(ChunkCount * 12); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadDouble(); Y = stream.ReadDouble(); Z = stream.ReadDouble(); Radius = stream.ReadSingle(); RecordCount = stream.ReadInt32(); Records = stream.ReadUInt8Array(RecordCount * 3); PlayerVelocityX = stream.ReadSingle(); PlayerVelocityY = stream.ReadSingle(); PlayerVelocityZ = stream.ReadSingle(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); DestroyStage = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadInt16(); Z = stream.ReadInt32(); Data1 = stream.ReadUInt8(); Data2 = stream.ReadUInt8(); BlockId = stream.ReadInt16(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadUInt8(); Z = stream.ReadInt32(); BlockType = stream.ReadInt16(); BlockMetadata = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { ItemName = stream.ReadString(); RemoveItem = stream.ReadBoolean(); if (!RemoveItem) { ScoreName = stream.ReadString(); Value = stream.ReadInt32(); } }
public void ReadPacket(MinecraftStream stream) { EffectName = stream.ReadString(); X = stream.ReadSingle(); Y = stream.ReadSingle(); Z = stream.ReadSingle(); OffsetX = stream.ReadSingle(); OffsetY = stream.ReadSingle(); OffsetZ = stream.ReadSingle(); ParticleSpeed = stream.ReadSingle(); ParticleCount = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { KeepAlive = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); SlotIndex = (EntityEquipmentSlot)stream.ReadInt16(); Slot = ItemStack.FromStream(stream); }
public void ReadPacket(MinecraftStream stream) { Action = (PlayerAction)stream.ReadUInt8(); X = stream.ReadInt32(); Y = stream.ReadUInt8(); Z = stream.ReadInt32(); Face = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Unknown = stream.ReadUInt8(); X = stream.ReadInt32(); Y = stream.ReadUInt8(); Z = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadInt16(); Z = stream.ReadInt32(); Text1 = stream.ReadString(); Text2 = stream.ReadString(); Text3 = stream.ReadString(); Text4 = stream.ReadString(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Animation = (AnimationType)stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Y = stream.ReadInt16(); Z = stream.ReadInt32(); Action = stream.ReadUInt8(); var length = stream.ReadInt16(); var data = stream.ReadUInt8Array(length); Nbt = new NbtFile(); Nbt.LoadFromBuffer(data, 0, length, NbtCompression.GZip, null); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); PlayerName = stream.ReadString(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); Yaw = stream.ReadUInt8(); Pitch = stream.ReadUInt8(); HeldItem = stream.ReadInt16(); Metadata = MetadataDictionary.FromStream(stream); }
public void ReadPacket(MinecraftStream stream) { StatisticId = stream.ReadInt32(); Amount = stream.ReadUInt8(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Type = stream.ReadUInt8(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); Yaw = stream.ReadUInt8(); Pitch = stream.ReadUInt8(); Data = stream.ReadInt32(); if (Data != 0) { SpeedX = stream.ReadInt16(); SpeedY = stream.ReadInt16(); SpeedZ = stream.ReadInt16(); } }
public void ReadPacket(MinecraftStream stream) { User = stream.ReadInt32(); Target = stream.ReadInt32(); LeftClick = stream.ReadBoolean(); }
public void ReadPacket(MinecraftStream stream) { EntityId = stream.ReadInt32(); Title = stream.ReadString(); X = stream.ReadInt32(); Y = stream.ReadInt32(); Z = stream.ReadInt32(); Direction = stream.ReadInt32(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadInt32(); Z = stream.ReadInt32(); GroundUpContinuous = stream.ReadBoolean(); PrimaryBitMap = stream.ReadUInt16(); AddBitMap = stream.ReadUInt16(); var length = stream.ReadInt32(); Data = stream.ReadUInt8Array(length); }