Commit graph

33 commits

Author SHA1 Message Date
steve
19f9cb156f
fix: initialize velocity variable for new wrapper entity
The velocity variable is never set in the class construction, resulting in null pointer exception if the getVelocityPacket method try to change it when is called, and the variable is not set before-hand using the setVelocity method.
2025-02-23 09:13:16 +01:00
Tofaa2
1f4aeef600 Included a bundles system, fixed entity attributes of an entity not being resent when respawned, implemented Hologram#removeLiner 2025-02-22 21:51:45 +04:00
steve
400783e5cc
fix: resend entity passengers when new viewer is added
When adding a new viewer to an already spawned entity it was missing the passengers information. This is especially noticeable when updating the texture properties of a WrapperPlayer (due to the destroy and respawn of the entity).
2025-02-18 12:22:14 +01:00
steve
aac39a3a0b
fix: avoid returning empty optional velocity for entity spawn packets
Returning an empty optional for the entity spawn velocity packets would apply a negative velocity (-1 on all axes) due to PacketEvents implementation. This affects client-side updated entities like fireworks.
2025-02-15 21:43:43 +01:00
=
ccea96a6ad per player entities 2024-11-14 01:42:46 +02:00
=
e9dc95275c Some more spawn providers 2024-11-14 01:10:52 +02:00
=
b68c86d190 Make bstats opt-out, WIP spawning packet provider 2024-11-14 01:08:10 +02:00
=
1c1c6a479e Major: Tracker system removal 2024-11-14 01:01:37 +02:00
=
ee554d66b4 Viewer Rules 2024-10-26 22:51:15 +03:00
Tofaa
5bec1fd1a1 some isspawned checks 2024-08-10 18:57:41 +04:00
Tofaa
f24fdf6383 Fix npe for remove and rotateHead updates yaw and pitch 2024-08-08 14:21:49 +04:00
Tofaa2
82d9ef2879 Finish up containers 2024-06-28 14:27:40 +04:00
Tofaa2
718940178f major refactor 2024-06-23 22:56:13 +04:00
Tofaa2
4c0ca7008c EntityMetadata utilities 2024-06-07 17:02:24 +04:00
Tofaa2
932e667762 Misc fixes 2024-05-26 15:19:10 +04:00
Tofaa2
dcdbe8575f Attributes 2024-05-23 23:04:54 +04:00
Tofaa
256e043e29 fix custom name properties to actually work 2024-02-28 22:15:47 +04:00
Tofaa
a6070ef5cc some more methods for entities 2024-02-23 13:29:23 +04:00
Tofaa
b26e405d41 add dynamic texture changing 2024-02-23 01:48:27 +04:00
Tofaa
aea7c5f7a2 fix WrapperPlayer 2024-02-23 01:37:33 +04:00
Tofaa
c7b486f0a9 fix rotatehead 2024-02-22 12:40:26 +04:00
Tofaa
c374b5f5af concurrency 2024-02-22 01:08:31 +04:00
Tofaa
17fc677643 add low level tracking 2024-02-19 18:08:46 +04:00
Tofaa
803b9d7f16 add setlocation 2024-02-18 00:52:48 +04:00
Tofaa
aae644def1 Complete rewrite hopefully 2024-02-17 19:02:27 +04:00
Tofaa
2eaaca878e fix bug + add notification system to equipment too 2024-02-08 14:02:18 +04:00
Tofaa
2d76a9eac8 Introduce changes notification for meta
Introduces a system to avoid spam sending metadata packets by stopping sending, changing the metadata, then sending it all at once
2024-02-06 21:44:02 +04:00
Tofaa
e2ca79b069 add player implementation 2024-02-06 13:20:15 +04:00
Tofaa
5130a65a0f more stuff 2024-02-06 00:30:05 +04:00
Tofaa
d6c695a353 some fixes 2024-02-01 14:55:05 +04:00
Tofaa
e22a057bff push some codegen boilerplate 2024-01-31 17:46:25 +04:00
Tofaa
3183a3140d let the entities be aware of their world 2024-01-29 13:19:45 +04:00
Tofaa
9cc097aab2 report meta and entity creation 2024-01-27 12:18:34 +04:00