mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Moved LocalWorld's members upwards to AbstractWorld and World.
This commit is contained in:
@ -19,10 +19,7 @@
|
||||
|
||||
package com.sk89q.worldedit.entity;
|
||||
|
||||
import com.sk89q.worldedit.PlayerDirection;
|
||||
import com.sk89q.worldedit.Vector;
|
||||
import com.sk89q.worldedit.WorldVector;
|
||||
import com.sk89q.worldedit.WorldVectorFace;
|
||||
import com.sk89q.worldedit.*;
|
||||
import com.sk89q.worldedit.extent.Extent;
|
||||
|
||||
/**
|
||||
@ -35,7 +32,7 @@ import com.sk89q.worldedit.extent.Extent;
|
||||
* can then be used to spawn new instances of that particular entity
|
||||
* description.
|
||||
*/
|
||||
public interface Entity extends Player {
|
||||
public interface Entity {
|
||||
|
||||
/**
|
||||
* Find a position for the actor to stand that is not inside a block.
|
||||
@ -215,4 +212,11 @@ public interface Entity extends Player {
|
||||
*/
|
||||
void setPosition(Vector pos);
|
||||
|
||||
/**
|
||||
* Get the world that this entity is on.
|
||||
*
|
||||
* @return the world
|
||||
*/
|
||||
LocalWorld getWorld();
|
||||
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ import com.sk89q.worldedit.extent.inventory.BlockBag;
|
||||
/**
|
||||
* A player.
|
||||
*/
|
||||
public interface Player {
|
||||
public interface Player extends Entity {
|
||||
|
||||
/**
|
||||
* Returns true if the entity is holding a pick axe.
|
||||
|
Reference in New Issue
Block a user