Commit graph

122 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
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
Felipe Paschoal Bergamo
e89c025545 fix(meta): remove ThrownTridentMeta registration from registry POTION 2025-06-14 02:12:43 -03: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
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
Tofaa2
6fba8ea5fd fix: ViewerEngine#untrack impl 2025-03-05 14:23:36 +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
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
=
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
=
beaa0cfc33 Mappings fix 2024-12-14 23:34:54 +02:00
=
4134dadaa9 Add getter 2024-11-22 21:36:07 +02:00
=
bdc0bee1f2 add Getter 2024-11-21 01:08:22 +02:00
=
f7fe6a3187 Metadata utilities 2024-11-14 19:37:33 +02:00
=
9e530ebed8 Add EntityContainer#empty 2024-11-14 19:23:12 +02:00
=
2b29bf1c9b Remove EntityMeta storage 2024-11-14 19:21:27 +02:00
=
debf77de54 Quick fix exception 2024-11-14 01:44:35 +02:00
=
ccea96a6ad per player entities 2024-11-14 01:42:46 +02:00
=
0d99f705e8 painting provider 2024-11-14 01:15:24 +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
=
d710683c9e Fix viewer engine bug 2024-11-13 23:31:38 +02:00
=
ee554d66b4 Viewer Rules 2024-10-26 22:51:15 +03:00
mani1232
76a9df6f5b add byte 2024-09-05 17:57:51 +02: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
Tofaa
96e1401d0a Fix! 2024-07-16 12:13:11 +04:00
Tofaa
24887cb05a remove compileOnlyApi 2024-07-16 11:48:31 +04:00
Tofaa
aab30e236f Fix unused meta data 2024-07-16 11:34:36 +04:00
Bram
cb4ac1031f
Fixed and improved the GithubUpdater 2024-07-09 12:00:58 +02:00
Bram
7a313da975
Downgrading Gradle wrapper in order to test another build issue 2024-07-09 10:07:21 +02:00
Tofaa
59bb99bfd2
Merge pull request #13 from akshualy/fix/block-display-meta-data-type
[Fix] BlockDisplay should use BLOCK_STATE not INT
2024-07-08 09:26:24 -05:00