diff --git a/README.md b/README.md index 5a0956a..29519e9 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ Once this list is complete, i will release a stable version of the library. - [x] Make ObjectData actually useful. - [ ] Multi-version support, currently only 1.18+ is stable. - [ ] Make class names match the protocol specified names. +- [ ] Ideally, refactor the API to use a custom world that stores the entities, rather than one big map. This way we can access other data aswell from the world. This also requires me writing some other platform implementations by default. ### Credits - PacketEvents for providing the API and retrooper being a cool guy in general diff --git a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java index f4d6c28..33ed672 100644 --- a/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java +++ b/src/main/java/me/tofaa/entitylib/entity/WrapperEntity.java @@ -23,11 +23,9 @@ public class WrapperEntity implements Tickable { private boolean onGround; private boolean spawned; protected Vector3d velocity = Vector3d.zero(); - private int riding = -1; private Set passengers = new HashSet<>(); - public WrapperEntity(int entityId, @NotNull UUID uuid, EntityType entityType, EntityMeta meta) { this.uuid = Optional.of(uuid); this.entityType = entityType;