Commit graph

268 commits

Author SHA1 Message Date
Felipe Paschoal Bergamo
a4ce05886d fix(meta): update EntityData type to be generic in EntityMeta and Metadata 2025-07-15 22:40:24 -03:00
Tofaa
49943c9515
Merge pull request #35 from huanmeng-qwq/master
fix: correct player spawn in 1.20.1-
2025-07-07 22:38:50 +04:00
huanmeng-qwq
8bc8bfb76a
feat: Add rotation packet handling after player spawn. 2025-07-08 02:35:47 +08:00
huanmeng-qwq
8478e87a38
fix: correct player spawn in 1.20.1- 2025-07-08 02:00:05 +08:00
Tofaa
34db96d434
Merge pull request #31 from fantasyorg/master
fix(meta): remove ThrownTridentMeta registration from registry POTION
2025-06-15 07:57:12 +04:00
Felipe Paschoal Bergamo
239f736d9d
Merge branch 'Tofaa2:master' into master 2025-06-14 02:12:57 -03:00
Felipe Paschoal Bergamo
e89c025545 fix(meta): remove ThrownTridentMeta registration from registry POTION 2025-06-14 02:12:43 -03:00
Tofaa
2a15c882db
Merge pull request #30 from fantasyorg/master
fix: packets send after entity spawned
2025-06-04 01:55:20 +04:00
Felipe Paschoal Bergamo
26cccce9a8 fix(wrapper): refactor spawn packet sending method 2025-06-03 18:54:38 -03:00
Felipe Paschoal Bergamo
1fc7a00ec7 fix: errors 2025-06-03 18:53:19 -03:00
Felipe Paschoal Bergamo
b5481f783d
Merge branch 'Tofaa2:master' into master 2025-06-03 18:38:12 -03:00
Felipe Paschoal Bergamo
2e05530f36 Cleaned up the WrapperEntityPotionEffect class by removing 2025-06-03 18:37:58 -03:00
Tofaa
630837fc06
Merge pull request #29 from steveb05/fix/wrong-horse-parent-class
Fix client disconnections caused by incorrect metadata offsets in horse packets
2025-05-01 13:43:33 +04:00
Tofaa2
9032d33058 GCI make create release step only available on head 2025-05-01 13:41:36 +04:00
Bram
a9fc4125da
Merge remote-tracking branch 'origin/master' into fork/steveb05/fix/wrong-horse-parent-class 2025-05-01 11:21:44 +02:00
Bram
74871b38bb
Fixed: Compile errors due to PacketEvents not being present during the test build phase 2025-05-01 11:20:38 +02:00
steve
5a5c7c8dc1
fix: correct BaseHorseMeta inheritance and remove non-functional owner methods
Inheriting from MobMeta caused incorrect metadata offsets for horses, leading to client disconnections when metadata packets were sent. Vanilla horses don't synchronize Owner UUID via metadata, making the previous owner methods non-functional client-side.

Changing inheritance to AgeableMeta also enables baby horse functionality.
2025-04-30 13:54:54 +02:00
Tofaa2
d9aae45571 idk how to fix this 2025-04-09 21:35:48 +04:00
Felipe Paschoal Bergamo
9e7ecf310e feat(api): add setPacketDispatcher method to EntityLibAPI 2025-04-03 00:03:40 -03:00
Felipe Paschoal Bergamo
d7eda34611 feat: enhance EntityLib with packet dispatcher and server version check 2025-04-03 00:02:49 -03:00
Felipe Paschoal Bergamo
35111c0149 fix(wrapper): streamline potion effect handling and packet creation 2025-04-01 11:25:33 -03:00
Felipe Paschoal Bergamo
0868a75617 feat: potion effect controller system 2025-04-01 10:43:55 -03:00
Tofaa2
53e4d917cd Fix build error 2025-03-31 21:35:44 +04:00
Tofaa2
7298de0bb7 Use dyecolor and byte, remove old method 2025-03-31 21:27:58 +04:00
Tofaa
e181b979a0
publicize standalone platform constructor 2025-03-25 20:29:05 +04:00
Tofaa2
6fba8ea5fd fix: ViewerEngine#untrack impl 2025-03-05 14:23:36 +04:00
Tofaa
244145e07a
Merge pull request #26 from LoJoSho/hurt_animation_fix
Fix PlayHurtAnimation not working on modern Minecraft verions
2025-03-02 13:52:15 +04:00
LoJoSho
f819cdb893 fix: playHurtAnimation not working on 1.19.4+ versions 2025-03-01 22:19:40 -06:00
Tofaa2
e1477bb599 Depricate MetaOffsetConverter untill further notice
Some checks failed
Build / build (push) Has been cancelled
2025-02-23 13:38:10 +04:00
Tofaa
debb91e642
Merge pull request #25 from steveb05/fix/uninitialized-velocity-packet
Initialize velocity variable for new wrapper entity
2025-02-23 12:32:27 +04:00
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
Tofaa2
47f47b5653 Skid from paper 2025-02-22 14:24:41 +04:00
Tofaa2
fc4983e221 Remove codeql (good software) 2025-02-22 14:02:12 +04:00
Tofaa2
3b1333218a Forgot a step 2025-02-22 13:56:28 +04:00
Tofaa2
7f3bec929f Im stupid 2025-02-22 13:53:47 +04:00
Tofaa2
3be18ca8c3 Move to workflows 2025-02-22 13:52:30 +04:00
Tofaa
3b78cc1fae
Create codeql.yml 2025-02-22 13:51:39 +04:00
Tofaa2
f6ef89c715 Try build actions 2025-02-22 13:49:51 +04:00
Tofaa
bc75a7a878
Merge pull request #23 from steveb05/fix/missing-entity-passenger-viewer
Resend entity passengers when a new viewer is added
2025-02-22 02:13:01 +04:00
Tofaa
7df63952c7
Merge pull request #24 from steveb05/feat/spigot-entityid-provider
Implement spigot entity id provider
2025-02-22 02:12:21 +04:00
steve
38899e9ed3
feat: implement spigot entity id provider
The default EntityIdProvider would assign entity IDs starting from a fixed number, which caused visibility issues when multiple plugins used the library simultaneously. Since plugins would receive the same IDs, newer entities would overwrite existing ones on the client side, making them disappear.

This new implementation delegates to the server's native ID allocation system, ensuring unique IDs across all plugins.
2025-02-18 20:03:51 +01: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
Tofaa
b8df40f6c9
Merge pull request #21 from steveb05/fix/incorrect-velocity-packet
Avoid returning empty optional velocity for entity spawn packets
2025-02-16 02:15:21 +04: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
Tofaa
f62986892a
Update README.md 2025-01-28 09:19:00 +04:00
=
39cce79c65 Typo 2024-12-14 23:55:23 +02:00
=
681c0b1d1f Use commit hash for beta builds 2024-12-14 23:53:01 +02:00
=
c3f5a69bca Use commit hash for beta builds 2024-12-14 23:51:43 +02:00
=
cb4ad5ec6f Bump pe 2024-12-14 23:41:35 +02:00