lojosho
301fd6a349
chore: move console commands to addCosmetic
2025-03-20 15:27:30 -05:00
lojosho
90b71e7dc9
clean: mark addPlayerCosmetic for removal
2025-03-20 15:27:06 -05:00
lojosho
e6827cdf72
clean: remove version checks on startup for deprecated emotes
2025-03-20 15:22:23 -05:00
lojosho
1212ab2025
chore: update to latest HibiscusCommons; getNMSVersion api adjusted to new enums
2025-03-18 20:42:23 -05:00
lojosho
e31f000de6
chore: add javadocs to MenuTypes; ids menu item types must now be unique
2025-03-17 12:44:13 -05:00
lojosho
70028598d5
fix: menu type not defaulting to empty when not provided
2025-03-17 12:37:49 -05:00
yusshu
49eb1d61ef
perf: remove repeated logic when getting location viewers
...
PacketManager#getViewers already performs the distance <= 0 check
2025-03-10 20:02:55 -05:00
yusshu
9e1a30025f
perf: cache some variables in CosmeticBackpackType#update
2025-03-10 19:57:21 -05:00
yusshu
76429ed041
perf: avoid creating unnecessary collection copies
2025-03-10 19:48:30 -05:00
yusshu
f5a01c0104
perf: remove unnecessary null-check
2025-03-10 19:46:02 -05:00
yusshu
545f258f90
perf: avoid creating an ImmutableCollection copy every time updateCosmetics() is called
...
micro-optimizations, also we avoid calling Map#get again and using cosmetic.update(this) instead
2025-03-10 19:30:00 -05:00
yusshu
720437212b
perf: do not double call Map get (microoptimization)
2025-03-10 19:26:50 -05:00
yusshu
d932732d9b
feat: add getVelocity() method to UserBalloonManager
2025-03-10 19:24:30 -05:00
yusshu
1118be1153
fix: set velocity after setting the location
...
otherwise the velocity would be set to zero after teleporting the balloon
2025-03-10 19:24:12 -05:00
yusshu
4136d19396
*: go back to 2.7.7, add @NotNull and @Nullable annotations for CosmeticHolder interface
2025-03-03 00:05:19 -05:00
yusshu
52de7425e4
fix: fix compiling error
2025-03-01 18:14:25 -05:00
yusshu
470de3b749
feat(api): add CosmeticHolder interface
...
allows plugins to implement their custom cosmetic holders and open menus for them, will also allow to open the cosmetics menu of a player to another player (for administration purposes maybe)
2025-03-01 18:05:54 -05:00
LoJoSho
ea72499826
fix: adjust several methods to properly use entity rather than assuming all entities are players
2025-02-28 11:34:21 -06:00
LoJoSho
4bb00071d4
Merge remote-tracking branch 'origin/remapped' into remapped
2025-02-25 10:45:39 -06:00
LoJoSho
650cf75168
chore: improvements to HookBetterHud
2025-02-25 10:45:25 -06:00
lucian929
0d07e8a267
chore: change Oraxen references to Nexo
...
Oraxen support is being deprecated
2025-02-25 11:17:17 -05:00
LoJoSho
e807c7e2f7
fix: respect settings about HUDs
2025-02-22 21:36:47 -06:00
LoJoSho
f1e975f940
feat: add BetterHUD support for huds in wardrobes
2025-02-22 20:47:34 -06:00
LoJoSho
863275a2ce
feat: add Nexo comments to the default config
2025-02-14 23:53:56 -06:00
LoJoSho
b516cfced4
fix: color being passed to item cosmetic from previous cosmetic
2025-01-31 12:18:02 -06:00
LoJoSho
28034318ac
fix: check if player is online before running wardrobe
2025-01-30 09:35:20 -06:00
LoJoSho
c2e4764ace
feat: add async listeners to WINDOW_ITEMS and WINDOW_CLICK packets
2025-01-30 09:29:25 -06:00
Tech
2c4638fa47
fix broken java doc
2025-01-27 16:27:47 -05:00
Tech
ced2fe7b03
force tick task to dispatch on create
2025-01-27 16:22:52 -05:00
Tech
dca5abe4ec
include javadoc and sources
2025-01-27 12:24:21 -05:00
LoJoSho
1dd54ea1cb
fix: loading user data not properly checking disabled worlds
2025-01-26 17:02:48 -06:00
LoJoSho
74d64b16d2
fix: readd toString for CosmeticSlot
2025-01-26 11:42:06 -06:00
Tech
2174ec6124
cosmetic provider & cleanup
2025-01-26 11:57:08 -05:00
LoJoSho
3aa5939225
clean: simplify logic surrounding new initialize logic
2025-01-25 21:13:38 -06:00
Tech
44650250c5
initialize method
2025-01-25 12:18:32 -05:00
LoJoSho
49fff9b650
Merge remote-tracking branch 'origin/remapped' into remapped
2025-01-24 19:34:36 -06:00
LoJoSho
190f66a990
feat: rewrite CosmeticSlot to allow for a consumers to run
2025-01-24 19:34:21 -06:00
LoJoSho
8a34f100d3
clean: annotate Menus to be more clean about returns and arguments
2025-01-23 14:47:13 -06:00
LoJoSho
79687a22fc
feat: add usage for PlayerMenuCloseEvent, closes #158
2025-01-23 13:58:51 -06:00
Craftinators
eac0812dbb
refactor(PlayerConnectionListener): change Slf4j logging for internal logger
2025-01-23 12:22:04 -05:00
Craftinators
93f5bfbb2a
docs(HMCCosmeticsAPI): remove unused imports and minor javadocs changes
2025-01-23 12:21:35 -05:00
Craftinators
94cba225a6
docs(CosmeticUsers): remove unused imports and small typo
2025-01-23 12:21:09 -05:00
Craftinators
ab614d8b07
docs(CosmeticUserProvider): add nullability annotations for methods
2025-01-23 12:10:34 -05:00
Tech
530cdb282b
add further docs
2025-01-22 19:46:54 -05:00
LoJoSho
97534f6916
Merge pull request #160 from DebitCardz/feat/player-provider
...
Implement Custom Player Providers
2025-01-22 18:40:10 -06:00
Tech
22fb52acc6
create user without data
2025-01-22 17:22:05 -05:00
Tech
cf0da580e0
expose getting cosmetic user provider
2025-01-22 17:21:58 -05:00
Tech
64a590b581
check against correct provider
2025-01-22 17:09:07 -05:00
Tech
afb3218bc1
cosmetic user provider impl
2025-01-22 17:01:14 -05:00
LoJoSho
170911a6a1
Merge pull request #157 from DebitCardz/fix/recursive-register
...
fix recursive registration
2025-01-22 14:57:19 -06:00