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

43 lines
1.4 KiB
Java
Raw Normal View History

package net.minecraft.server;
public class WorldManager implements IWorldAccess {
private MinecraftServer server;
2011-05-26 14:48:22 +02:00
public WorldServer world; // CraftBukkit private -> public
2011-05-26 14:48:22 +02:00
public WorldManager(MinecraftServer minecraftserver, WorldServer worldserver) {
this.server = minecraftserver;
2011-05-26 14:48:22 +02:00
this.world = worldserver;
}
public void a(String s, double d0, double d1, double d2, double d3, double d4, double d5) {}
public void a(Entity entity) {
2011-05-26 14:48:22 +02:00
this.server.b(this.world.worldProvider.dimension).a(entity);
}
public void b(Entity entity) {
2011-05-26 14:48:22 +02:00
this.server.b(this.world.worldProvider.dimension).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-26 14:48:22 +02:00
this.server.serverConfigurationManager.flagDirty(i, j, k, this.world.worldProvider.dimension);
}
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);
}
2011-05-26 14:48:22 +02:00
public void a(EntityHuman entityhuman, int i, int j, int k, int l, int i1) {
this.server.serverConfigurationManager.a(entityhuman, (double) j, (double) k, (double) l, 64.0D, this.world.worldProvider.dimension, new Packet61(i, j, k, l, i1));
}
}