Package com.sk89q.worldedit.bukkit
Class BukkitEntity
java.lang.Object
com.sk89q.worldedit.bukkit.BukkitEntity
- All Implemented Interfaces:
com.sk89q.worldedit.entity.Entity,com.sk89q.worldedit.extension.platform.Locatable,com.sk89q.worldedit.util.Faceted
An adapter to adapt a Bukkit entity into a WorldEdit one.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.extent.Extent<T> Tcom.sk89q.worldedit.util.Locationcom.sk89q.worldedit.entity.BaseEntitygetState()booleanremove()booleansetLocation(com.sk89q.worldedit.util.Location location) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sk89q.worldedit.entity.Entity
getTypeMethods inherited from interface com.sk89q.worldedit.extension.platform.Locatable
getBlockLocation, setPosition, trySetPosition
-
Constructor Details
-
BukkitEntity
Create a new instance.- Parameters:
entity- the entity
-
-
Method Details
-
getExtent
public com.sk89q.worldedit.extent.Extent getExtent()- Specified by:
getExtentin interfacecom.sk89q.worldedit.extension.platform.Locatable
-
getLocation
public com.sk89q.worldedit.util.Location getLocation()- Specified by:
getLocationin interfacecom.sk89q.worldedit.extension.platform.Locatable
-
setLocation
public boolean setLocation(com.sk89q.worldedit.util.Location location) - Specified by:
setLocationin interfacecom.sk89q.worldedit.extension.platform.Locatable
-
getState
public com.sk89q.worldedit.entity.BaseEntity getState()- Specified by:
getStatein interfacecom.sk89q.worldedit.entity.Entity
-
remove
public boolean remove()- Specified by:
removein interfacecom.sk89q.worldedit.entity.Entity
-
getFacet
- Specified by:
getFacetin interfacecom.sk89q.worldedit.util.Faceted
-