add todo for future update.

This commit is contained in:
Tofaa 2024-01-22 22:56:10 +03:00
parent 3ad53b6fb4
commit fb3bb8abaa
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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<Integer> passengers = new HashSet<>();
public WrapperEntity(int entityId, @NotNull UUID uuid, EntityType entityType, EntityMeta meta) {
this.uuid = Optional.of(uuid);
this.entityType = entityType;