diff --git a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java index b5f19e2..1d7e120 100644 --- a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java +++ b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java @@ -33,6 +33,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());