Commit graph

132 commits

Author SHA1 Message Date
b2d6cd6d93 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	.github/workflows/dev-build-release.yml
#	api/build.gradle.kts
#	platforms/spigot/src/main/java/me/tofaa/entitylib/spigot/SpigotEntityLibPlatform.java
2025-07-27 00:12:43 +02:00
huanmeng-qwq
9ea8e9c1b4
feat: Add user locale handling and metadata translation support 2025-07-21 22:26:51 +08:00
huanmeng-qwq
64021bb0dc
update 2025-07-20 18:57:01 +08:00
huanmeng-qwq
56e64cde5b
feat: Add entity meta support for WrappedBlockState. 2025-07-20 18:51:40 +08:00
Felipe Paschoal Bergamo
3d803fd4d7 feat: add missing metadata converters for entities
```
- Implemented converters for ALLAY, CREAKING, ENDER_PEARL,
  EVOKER_FANGS, GHAST, HAPPY_GHAST, ITEM, MOOSHROOM, PHANTOM,
  POTION, SNOWBALL, and SQUID.
- Verified and updated converters for COW, and added TODO notes
  for correctness checks on certain entities.
```
2025-07-20 05:03:06 -03:00
Felipe Paschoal Bergamo
d69eeb3932 feat(meta): add TntMeta class and register in MetaConverterRegistry 2025-07-20 02:54:16 -03:00
Felipe Paschoal Bergamo
38d858f5b3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	api/src/main/java/me/tofaa/entitylib/meta/MetaConverterRegistry.java
2025-07-20 02:53:44 -03:00
Felipe Paschoal Bergamo
7ea339a69e feat(meta): add TntMeta class and register in MetaConverterRegistry 2025-07-20 02:53:31 -03:00
OakLoaf
6af48b98e7 Cleaned up MetaConverterRegistry, added newer entities and implemented unused meta classes 2025-07-18 15:50:18 +01:00
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
9d7dbf17a8 fix: project structure & rip out updater 2025-03-01 15:09:31 +01: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