diff --git a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java index fe36565..ddbffcd 100644 --- a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java +++ b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java @@ -35,6 +35,13 @@ public class WrapperEntity implements Tickable { this.entityId = entityId; } + /** + Internally sets the location of this entity. This does not inform any of the entities viewers about this change. + */ + public void setLocation(Location location) { + this.location = location; + } + public void refresh() { if (!spawned) return; sendPacketToViewers(meta.createPacket());