Added a method to teleport entities across worlds.
This commit is contained in:
committed by
IronApollo
parent
7a9bd226ce
commit
c935e381b7
@ -76,6 +76,12 @@ class ForgeEntity implements Entity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setLocation(Location location) {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Extent getExtent() {
|
||||
net.minecraft.entity.Entity entity = entityRef.get();
|
||||
|
||||
@ -88,6 +88,12 @@ public class ForgePlayer extends AbstractPlayerActor {
|
||||
this.player.rotationPitch);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setLocation(Location location) {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public com.sk89q.worldedit.world.World getWorld() {
|
||||
return ForgeWorldEdit.inst.getWorld(this.player.world);
|
||||
|
||||
Reference in New Issue
Block a user