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

1298 Commits

Author SHA1 Message Date
Logan
7cf6a3c75c Merge pull request #182 from HibiscusMC/refactorio
refactor: improve worldguard listener
2025-05-18 08:33:37 -05:00
Boy0000
22a5bb4cf1 refactor: improve worldguard listener 2025-05-18 13:22:38 +02:00
Logan
148d163d9c Merge pull request #181 from DebitCardz/fix-add-user
add user to pre unload
2025-05-16 14:50:22 -05:00
Tech
ef36e66c51 add user to pre unload 2025-05-16 15:13:38 -04:00
Logan
e5fda588c3 Merge pull request #179 from DebitCardz/constructor
expose constructor
2025-05-11 18:46:12 -05:00
Logan
3baf2694be Merge pull request #177 from DebitCardz/connection-update
add unload
2025-05-11 15:08:25 -05:00
Tech
a1dafdee5b expose constructor 2025-05-11 14:40:08 -04:00
Tech
e3a42d8b4a add unload 2025-05-10 10:40:30 -04:00
Boy0000
b366f5930b fix: dyed cosmetic item not updated 2025-05-10 00:07:19 +02:00
lojosho
45eb1fa668 chore: update HibiscusCommons 2025-05-09 11:35:13 -05:00
Logan
c466405a81 Merge pull request #176 from HibiscusMC/le-epic-minor-tweaks-again-we-love-it
feat: dyeable click-type & color changes
2025-05-09 10:56:31 -05:00
Boy0000
172ffc0333 refactor: swap to commons color api 2025-05-09 16:00:26 +02:00
Boy0000
41ac857a11 feat: determine color based on new HMCColor API to allow any Material to be dyable 2025-05-09 14:32:29 +02:00
Boy0000
737d63642c feat: add dye-click to settings 2025-05-09 13:46:12 +02:00
Boy
7b9b7678a3 chore: crucial typo fix 2025-05-09 11:42:45 +02:00
Boy
fe88d0c608 fix: bump hmccolor 2025-05-09 11:42:45 +02:00
lojosho
e14935af7b feat: add new processItemMeta implementation that respects MiniMessage/Components as best it can 2025-05-07 22:22:16 -05:00
lojosho
3e83d370f8 chore: update HibiscusCommons 2025-05-03 09:55:01 -05:00
lojosho
874a7f5624 fix: menu packet changes in 1.21.5 2025-05-02 10:50:21 -05:00
lojosho
3af992a291 chore: remove default emote in defaultcosmetics.yml 2025-05-02 10:43:17 -05:00
Logan
9ef7791998 Merge pull request #174 from HibiscusMC/minor-tweaks
Minor tweaks
2025-04-26 09:39:00 -05:00
Boy
1cbe17ddd4 chore: bump triumph-gui 2025-04-26 13:53:09 +02:00
Boy
2841742af9 fix: allow id to be specified in menu-config, default to filename 2025-04-26 12:16:41 +02:00
LoJoSho
6e2f333404 chore: add more debugging for balloon updating 2025-04-19 16:44:03 -05:00
lojosho
af8949b713 chore: remove emotes 2025-04-14 16:35:25 -05:00
lojosho
d6f7d0fcb3 version bump (2.7.8) 2025-04-14 16:34:48 -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