public Pathfinder(net.minecraft.src.IBlockAccess iblockaccess) { // Referenced classes of package net.minecraft.src: // Path, MCHash, PathPoint, Entity, // AxisAlignedBB, MathHelper, IBlockAccess, Block, // BlockDoor, Material, PathEntity path = new net.minecraft.src.Path(null); pointMap = new net.minecraft.src.MCHash(); pathOptions = new net.minecraft.src.PathPoint[32]; worldMap = iblockaccess; }
public EntityTracker(net.minecraft.server.MinecraftServer minecraftserver, World i) // CRAFTBUKKIT -- Int -> World { // Referenced classes of package net.minecraft.src: // MCHash, ServerConfigurationManager, EntityPlayerMP, EntityTrackerEntry, // EntityFish, EntityArrow, EntityFireball, EntitySnowball, // EntityEgg, EntityItem, EntityMinecart, EntityBoat, // EntitySquid, IAnimals, EntityTNTPrimed, EntityFallingSand, // EntityPainting, Entity, WorldServer, Packet trackedEntitySet = new HashSet <EntityTrackerEntry>(); trackedEntityHashTable = new net.minecraft.src.MCHash(); mcServer = minecraftserver; world = i; maxTrackingDistanceThreshold = minecraftserver.serverConfigurationManager.GetMaxTrackingDistance(); }
public WorldServer(net.minecraft.server.MinecraftServer minecraftserver, net.minecraft.src.ISaveHandler isavehandler, string s, int dimension, long seed) : base(isavehandler, s, seed, net.minecraft.src.WorldProvider.GetWorldProvider(dimension)) { // Referenced classes of package net.minecraft.src: // World, WorldProvider, MCHash, EntityAnimal, // EntityWaterMob, Entity, EntityPlayer, ISaveHandler, // ChunkProviderServer, TileEntity, WorldInfo, MathHelper, // ServerConfigurationManager, Packet71Weather, Packet38EntityStatus, EntityTracker, // Explosion, Packet60Explosion, Packet54PlayNoteBlock, Packet70Bed, // IChunkProvider weirdIsOpCache = false; field_20912_E = new net.minecraft.src.MCHash(); mcServer = minecraftserver; this.Dimension = dimension; // CRAFTBUKKIT }