Paper/src/main/java/net/minecraft/server/WorldManager.java

41 Zeilen
1.2 KiB
Java

package net.minecraft.server;
public class WorldManager implements IWorldAccess {
private MinecraftServer server;
2011-02-23 13:56:36 +01:00
public WorldServer world; // CraftBukkit
2011-02-23 13:56:36 +01:00
// CraftBukkit - changed signature
public WorldManager(MinecraftServer minecraftserver, WorldServer world) {
this.server = minecraftserver;
2011-02-23 13:56:36 +01:00
this.world = world; // CraftBukkit
}
public void a(String s, double d0, double d1, double d2, double d3, double d4, double d5) {}
public void a(Entity entity) {
this.server.tracker.a(entity);
}
public void b(Entity entity) {
this.server.tracker.untrackEntity(entity);
}
public void a(String s, double d0, double d1, double d2, float f, float f1) {}
public void a(int i, int j, int k, int l, int i1, int j1) {}
public void a() {}
public void a(int i, int j, int k) {
2011-05-14 16:29:42 +02:00
// CraftBukkit - add world argument
this.server.serverConfigurationManager.flagDirty(i, j, k, world);
}
public void a(String s, int i, int j, int k) {}
public void a(int i, int j, int k, TileEntity tileentity) {
this.server.serverConfigurationManager.a(i, j, k, tileentity);
}
}