diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-05 18:15:04 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-07 01:44:43 +0000 |
commit | 2be5181b0c721baf520a372350693377c261dd37 (patch) | |
tree | 790918614919ce0dd2801ceffadc43ebf9c7a141 /src/main/java/net/minecraft/server/WorldManager.java | |
parent | 9e7991ab528cfc195200e342cd022ab3f63de3f6 (diff) | |
download | craftbukkit-2be5181b0c721baf520a372350693377c261dd37.tar craftbukkit-2be5181b0c721baf520a372350693377c261dd37.tar.gz craftbukkit-2be5181b0c721baf520a372350693377c261dd37.tar.lz craftbukkit-2be5181b0c721baf520a372350693377c261dd37.tar.xz craftbukkit-2be5181b0c721baf520a372350693377c261dd37.zip |
Added internal MC support for multiple worlds
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldManager.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldManager.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/WorldManager.java b/src/main/java/net/minecraft/server/WorldManager.java new file mode 100644 index 00000000..c12c5369 --- /dev/null +++ b/src/main/java/net/minecraft/server/WorldManager.java @@ -0,0 +1,39 @@ +package net.minecraft.server; + +public class WorldManager implements IWorldAccess { + + private MinecraftServer a; + public WorldServer world; // Craftbukkit + + // Craftbukkit - changed signature + public WorldManager(MinecraftServer minecraftserver, WorldServer world) { + this.a = minecraftserver; + this.world = world; + } + + public void a(String s, double d0, double d1, double d2, double d3, double d4, double d5) {} + + public void a(Entity entity) { + this.a.k.a(entity); + } + + public void b(Entity entity) { + this.a.k.b(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) { + this.a.f.a(i, j, k, world); // Craftbukkit + } + + public void a(String s, int i, int j, int k) {} + + public void a(int i, int j, int k, TileEntity tileentity) { + this.a.f.a(i, j, k, tileentity); + } +} |