public EntityPlayerMP(net.minecraft.server.MinecraftServer minecraftserver, net.minecraft.src.World world, string s, net.minecraft.src.ItemInWorldManager iteminworldmanager) : base(world) { // Referenced classes of package net.minecraft.src: // EntityPlayer, ICrafting, ItemStack, ItemInWorldManager, // World, ChunkCoordinates, WorldProvider, WorldServer, // Container, Packet5PlayerInventory, EntityTracker, InventoryPlayer, // EntityArrow, Item, NetServerHandler, ItemMapBase, // ChunkCoordIntPair, Packet51MapChunk, TileEntity, PropertyManager, // ServerConfigurationManager, Packet8UpdateHealth, Entity, EntityItem, // Packet22Collect, Packet18Animation, EnumStatus, Packet17Sleep, // Packet39AttachEntity, Packet100OpenWindow, ContainerWorkbench, IInventory, // ContainerChest, TileEntityFurnace, ContainerFurnace, TileEntityDispenser, // ContainerDispenser, SlotCrafting, Packet103SetSlot, Packet104WindowItems, // Packet105UpdateProgressbar, Packet101CloseWindow, StatBase, Packet200Statistic, // StringTranslate, Packet3Chat chunkCoordIntPairQueue = new List <ChunkCoordIntPair>(); playerChunkCoordIntPairs = new HashSet <ChunkCoordIntPair>(); lastHealth = unchecked ((int)(0xfa0a1f01)); ticksOfInvuln = 60; currentWindowId = 0; iteminworldmanager.thisPlayer = this; itemInWorldManager = iteminworldmanager; net.minecraft.src.ChunkCoordinates chunkcoordinates = world.GetSpawnPoint(); int i = chunkcoordinates.posX; int j = chunkcoordinates.posZ; int k = chunkcoordinates.posY; if (!world.worldProvider.worldHasSky) { i += rand.Next(20) - 10; k = world.FindTopSolidBlock(i, j); j += rand.Next(20) - 10; } SetLocationAndAngles((double)i + 0.5D, k, (double)j + 0.5D, 0.0F, 0.0F); mcServer = minecraftserver; stepHeight = 0.0F; username = s; yOffset = 0.0F; }