Commit graph

287 commits

Author SHA1 Message Date
25823e4cf2 upstream
Some checks failed
Build / build (push) Has been cancelled
2025-07-27 00:13:02 +02:00
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
Tofaa
bff89d2fac
Merge pull request #40 from huanmeng-qwq/feat/translation-render
Add support for GlobalTranslator
2025-07-21 20:21:03 +04:00
huanmeng-qwq
acbb438325
feat: Introduce UserLocaleProvider implementation for Spigot, Velocity, and Standalone platforms 2025-07-21 22:50:10 +08:00
huanmeng-qwq
9ea8e9c1b4
feat: Add user locale handling and metadata translation support 2025-07-21 22:26:51 +08:00
Tofaa
d6a3cb72a4
Merge pull request #39 from huanmeng-qwq/blockstate
Add entity meta support for WrappedBlockState.
2025-07-20 15:09:22 +04: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
Tofaa
9dec1374d6
Merge pull request #38 from fantasyorg/master
feat(meta): add TntMeta class and register in MetaConverterRegistry
2025-07-20 12:07:53 +04: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
Tofaa
fe6161613f
Merge pull request #37 from OakLoaf/master
MetaConverterRegistry changes
2025-07-18 19:25:50 +04:00
OakLoaf
6af48b98e7 Cleaned up MetaConverterRegistry, added newer entities and implemented unused meta classes 2025-07-18 15:50:18 +01:00
Tofaa
4682ddd581
Merge pull request #36 from fantasyorg/master
feat: packet-events 2.9.1
2025-07-16 10:31:03 +04: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
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
3b3bee5209 fix: CI
Some checks failed
Build / build (push) Has been cancelled
2025-03-01 15:30:25 +01:00
9d7dbf17a8 fix: project structure & rip out updater 2025-03-01 15:09:31 +01:00
3efaba177f feat: CI
Some checks failed
Build / build (push) Failing after 1s
2025-03-01 14:11:27 +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
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