9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-19 15:09:19 +00:00
Commit Graph

1227 Commits

Author SHA1 Message Date
lojosho
42fec4d2c6 fix: latest changes 2025-04-06 11:06:56 -05:00
lojosho
fdc2d06663 Merge branch 'remapped' into display_entities_backpacks
# Conflicts:
#	common/src/main/java/com/hibiscusmc/hmccosmetics/cosmetic/types/CosmeticBackpackType.java
#	common/src/main/java/com/hibiscusmc/hmccosmetics/user/manager/UserBackpackManager.java
2025-04-06 10:42:59 -05:00
lojosho
a8f035bbe2 chore: update API equipCosmetic to use addCosmetic method v2.7.7 2025-03-20 15:29:22 -05:00
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
Andre Roldan
07b772d228 Merge pull request #172 from yusshu/remapped
Micro-optimization on methods that are called a lot of times
2025-03-14 09:46:04 -05:00
Andre Roldan
065e48c125 Merge branch 'HibiscusMC:remapped' into remapped 2025-03-11 02:32:34 -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
Logan
1dc549d645 Merge pull request #171 from yusshu/remapped
feat(api): add CosmeticHolder interface
2025-03-02 23:09:12 -06: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
f470e55142 chore: bump up minor version 2025-03-01 18:12:27 -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
6b19bf442a chore: update adventure depends to 4.19.0 v2.7.6 v2.7.5 2025-02-25 19:17:47 -06:00
LoJoSho
436de38102 version bump (2.7.6) 2025-02-25 19:16:45 -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
b7ec587d7d feat: add BetterHud as a soft depend 2025-02-22 21:37:51 -06:00
LoJoSho
e807c7e2f7 fix: respect settings about HUDs 2025-02-22 21:36:47 -06:00
LoJoSho
15e1f0aaa9 fix: BetterCommand not at a proper version; moved to 1.3 2025-02-22 20:56:39 -06:00
LoJoSho
f1e975f940 feat: add BetterHUD support for huds in wardrobes 2025-02-22 20:47:34 -06:00
LoJoSho
89fba800a4 clean: do not include qodana file 2025-02-14 23:54:26 -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
LoJoSho
948bfb17f5 clean: update Paper repo 2025-01-30 09:28:17 -06:00
LoJoSho
6c98b7696a Merge pull request #168 from DebitCardz/fix/tick-task
Force Tick Task to Dispatch On CosmeticUser Create
2025-01-27 15:35:10 -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
LoJoSho
3a56f074fa Merge pull request #167 from DebitCardz/misc/dl-sources
Include javadoc and sources
2025-01-27 11:56:55 -06: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
9909ab5832 Merge remote-tracking branch 'origin/remapped' into display_entities_backpacks
# Conflicts:
#	common/src/main/java/com/hibiscusmc/hmccosmetics/util/packets/HMCCPacketManager.java
2025-01-26 16:35:44 -06:00
LoJoSho
b81af97573 Merge pull request #166 from DebitCardz/feat/cosmetic-provider
cosmetic provider & cleanup
2025-01-26 16:33: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