Commit graph

1133 commits

Author SHA1 Message Date
Sollace
45c9d34f5d Fixed wing scale and rotation not being applied 2023-03-22 04:00:34 +00:00
Sollace
d82aeaa6c5 Fix another locale bug 2023-03-22 04:00:10 +00:00
Sollace
cc1f323b95 Implement armour trims 2023-03-21 21:38:32 +00:00
Sollace
0f02895da2 Refactor pony renderers for mobs a little 2023-03-21 20:34:12 +00:00
Sollace
6820fd8ff3 Combine upper_torso+body / saddle+jacket 2023-03-20 19:51:21 +00:00
Sollace
718cae82e8 Fixed crash due to duplicate buffers 2023-03-20 19:50:37 +00:00
Sollace
0eae23ea48 Fixed sitting pose 2023-03-20 19:09:58 +00:00
Sollace
77817a352d Fixed legs detaching from ponies' torsos when swimming 2023-03-20 18:52:49 +00:00
Sollace
dd630248dd Fixed texturing bugs with magic rendering 2023-03-20 18:44:53 +00:00
Sollace
07bcb12a46 Fixed skulls rendering twice 2023-03-20 18:43:31 +00:00
Sollace
1c9673a518 Update mson 2023-03-20 13:04:07 +00:00
Sollace
3733289ca4 Update mson 2023-03-20 01:30:46 +00:00
Sollace
1af3ac0c69 1.19.3 -> 1.19.4 2023-03-19 18:17:29 +00:00
Sollace
5c67534bf4 Remove debug code 2023-03-02 18:54:43 +00:00
Sollace
8ed7965270 Fixed crash due to class loading order 2023-02-27 13:42:57 +00:00
Sollace
94592212c6 Simplify armour code and fix armour visibility being set before setting the armour variant 2023-02-27 13:31:37 +00:00
Sollace
20372dbfd3 Only use a player's skin if it's ponified skin. (Human skins don't fit villagers). Fixes #228 2023-02-25 22:06:51 +00:00
Sollace
875a5e2ce9 Fixed z-fighting between pony wings and dual saddlebags 2023-02-16 19:50:03 +00:00
Sollace
1fa850708d Fixed villagers not having distinct skins 2023-02-16 19:49:42 +00:00
Sollace
e583b83b62 Squash that unchecked warning gradle keeps producing for no reason 2023-02-15 20:42:14 +00:00
Sollace
2cde5e586d DAMMIT GRADLE 2023-02-15 20:35:48 +00:00
Sollace
b1442c0874 Fixed villagers with modded professions rendering as purple and black monstrocities 2023-02-15 20:17:28 +00:00
Sollace
b5b168df06 Clean up some messy refactorings 2023-02-15 20:16:57 +00:00
Sollace
f0d16efd18 Fix incompatibility with mods that mess with armour stand rendering 2023-02-15 19:36:57 +00:00
Sollace
777f53b4b5 Remove unused class 2023-02-15 19:25:59 +00:00
Sollace
905990623c Fixed head rendering 2023-02-15 19:25:52 +00:00
Sollace
a9f070226f Add support for custom armour models 2023-02-15 19:09:59 +00:00
Sollace
c68d484d42 Fixed rendering of legacy pony armour 2023-02-15 16:27:11 +00:00
Sollace
d843896177 Fixed torso rendering on pony armor when it's not supposed to 2023-02-15 14:48:16 +00:00
Sollace
e54183565b Fixed leggings and boots alignment when crouching. Closes #227 2023-02-15 14:35:23 +00:00
Sollace
4d0f02e791 Fixed wings rotating incorrectly for alicorns 2023-01-27 12:07:25 +00:00
Sollace
60ece0cb46 Fixed legacy wearable skins using the body texture when they shouldn't be (Sorry, AJ, taixdermy is out of fashion) 2023-01-27 11:46:44 +00:00
Sollace
7fe4aa0d36 Use a fast map for storing gear offsets and unravel lambdas 2022-12-21 23:36:06 +01:00
Sollace
24ed233210 Remove stream instantiation when rendering gear 2022-12-21 23:18:59 +01:00
Sollace
d73c6fb2e3 Some minor optimisations when computing villager clothing 2022-12-21 23:17:24 +01:00
Sollace
540f8b9f3f Remove unneccessary layers when rendering villagers. Should help with #222 2022-12-21 23:02:43 +01:00
Sollace
8c1a705b9e More changes to texture suppliers 2022-12-15 00:35:30 +00:00
Sollace
96cfd13b96 Use RenderList to manage rendering model parts in passes 2022-12-13 00:27:48 +00:00
Sollace
69a7806ad1 Try a little harder to parse skins when they're not yet uploaded. Should fix ponies randomly appearing as humans early in-game 2022-12-13 00:26:11 +00:00
Sollace
aedb4e49f7 Remove hasHorn and hasMagic from IPonyData 2022-12-13 00:25:09 +00:00
Sollace
557845c6e3 Added missing comment for fps magic 2022-12-13 00:21:22 +00:00
Sollace
8feaccd9bb Fixed inaccuracies when adjusting for altered camera heights 2022-12-12 21:56:23 +00:00
Sollace
ee0aca3967 Fixed villagers having too many saddlebags 2022-12-12 18:51:06 +00:00
Sollace
b4b98ccfe6 Modularise and move npc textures to their own package 2022-12-12 16:22:52 +00:00
Sollace
7ed780ed70 Villager skinning 2022-12-12 15:08:49 +00:00
Sollace
0e26c376a3 Fixed incorrect leg placement on the preview when wide arms mode is selected 2022-12-11 01:09:16 +00:00
Sollace
b480c94dfa Fixed wearables using the incorrect texture in the preview 2022-12-11 01:08:50 +00:00
Sollace
aef8d4f2b8 Fixed missing crown texture on piglins 2022-12-11 01:08:31 +00:00
Sollace
e37ea9e12c Remove log message about missing vilager textures 2022-12-11 01:07:59 +00:00
Sollace
3fb9b46013 Move configs to the api package and remove some references to client classes 2022-12-11 00:38:00 +00:00
Sollace
64d1e10b0f Added tailshape 2022-12-11 00:05:31 +00:00
Sollace
95ebace010 Fixed embedded wearables not using the correct textures in the preview 2022-12-10 21:47:34 +00:00
Sollace
de7253594f Update hdskins 2022-12-10 21:16:37 +00:00
Sollace
e54b29146a Players can now upload a texture to use for each type of wearable 2022-12-10 19:36:55 +00:00
Sollace
2cbdc7477c Use the built-in default textures 2022-12-10 17:30:31 +00:00
Sollace
897134507f Fixed crash 2022-12-10 17:30:02 +00:00
Sollace
aab7f78031 New default skins 2022-12-10 16:45:38 +00:00
Sollace
5758c87c1a PonyData should abide by the pony level 2022-12-08 21:25:12 +00:00
Sollace
84a78ce4b9 Change Pony into a record and track whether a IPony instance was returned as a default skin or not separate from the texture id 2022-12-08 21:20:16 +00:00
Sollace
d7d0c71ca5 Fixed pony data change event being triggered multipled times 2022-12-08 20:59:15 +00:00
Sollace
960b98eac9 A bunch of refactoring and cleaning up of old patterns 2022-12-08 20:58:01 +00:00
Sollace
3c357c9061 Clean up some things and fixed pony level not being applied 2022-12-08 18:42:07 +00:00
Sollace
1b584ed351 Fixed deadmau5 ears being misaligned 2022-12-08 18:41:26 +00:00
Sollace
e1dd8e9239 Update dependencies 2022-12-08 17:55:28 +00:00
Sollace
743d012533 Tweak the horsecam calculations a little 2022-12-08 03:09:32 +00:00
Sollace
9ca7e06075 1.19.2 -> 1.19.3 (1.20) 2022-12-08 01:53:59 +00:00
Sollace
86f5a1d2dc Fixed alex/steve arm types not being applied correctly for humans. Closes #216 2022-11-23 21:33:15 +00:00
Sollace
7a8a1bb655 Misc cleanup 2022-11-23 21:33:15 +00:00
Sollace
73d85cf709 Remove the redundant findTexture and getTextureFor methods (likely leftovers of previous refactorings) and make it so all entities get their saddlebags from a separate texture 2022-11-03 20:18:24 +01:00
Sollace
c8fde38ee7 Add a debug setting to help with testing races 2022-11-03 00:47:49 +01:00
Sollace
968237a218 Update kirin 2022-11-03 00:47:27 +01:00
Sollace
da2ccc75fc Remove the boolean argument from Pony.getRace 2022-11-03 00:46:04 +01:00
Sollace
77f5c382e6 Fixed neck placement when crouching. Closes #212 2022-11-02 23:38:25 +01:00
Sollace
bf7fe63b81 Allow gear better control of how they're positioned 2022-11-02 23:12:29 +01:00
Sollace
ca9cf43ef5 Fixed villagers' saddlebags interfering with their wings 2022-11-02 22:33:11 +01:00
Sollace
ff9510a840 Avoid clobbering the entire list of render features when initialising the pony player renderer 2022-09-15 00:40:49 +02:00
Sollace
59b2d9591e Fix #208 2022-08-12 16:27:18 +02:00
Sollace
c320087934 Fix head positioning and move neck dilation to the model json 2022-07-06 14:41:50 +02:00
Sollace
787a24280a Fix some head position and clipping issues 2022-07-06 13:28:34 +02:00
Sollace
0bf7559884 Fixed villagers appearing slightly smaller than they should (no, it wasn't just you) 2022-07-06 13:28:22 +02:00
Sollace
52bc2ab207 Change villager head rolling into a head shaking motion 2022-07-06 12:55:15 +02:00
Sollace
5d15c64fa0 Villagers now use the same models as the player 2022-07-06 12:53:31 +02:00
Sollace
aecc80669c Handle positioning clothing separately to simplify downstream code 2022-07-06 11:12:49 +02:00
Sollace
e8a5e6ce13 Remove the ZebraPonyModel class (no longer needed) 2022-07-06 11:05:59 +02:00
Sollace
84886cf798 Added crowns 2022-07-05 22:50:40 +02:00
Sollace
beddc3aabf Adjusted the heights of some wearables 2022-07-05 22:50:31 +02:00
Sollace
737c368264 Randomise wearable stacking 2022-07-05 22:49:44 +02:00
Sollace
2f2e21ee5b Adjust model files to more closely resemble what they look like in-game 2022-06-27 17:28:39 +02:00
Sollace
6e63a4df72 Fix build 2022-06-24 16:46:55 +02:00
Sollace
869c6fac84 Added kirin models 2022-06-22 23:29:55 +02:00
Sollace
110d8fac90 Fixed villagers missing clothing. Closes #207 2022-06-22 21:11:55 +02:00
Sollace
a7e2f09d39 Adjust saddle position 2022-06-22 20:05:57 +02:00
Sollace
156d73f39a Striders are now dragons 2022-06-18 18:08:46 +02:00
Sollace
690decda00 Fix jaw positioning and added the other two missing wings to parasprites 2022-06-18 11:41:15 +02:00
Sollace
e33881e63d Added breezie variants, and vexes are now parasprites with variants 2022-06-17 23:42:17 +02:00
Sollace
07e55b75d3 Allays are now breezies 2022-06-17 21:10:04 +02:00
Sollace
e1c5f183ee Fix #205 2022-06-12 17:35:34 +02:00
Sollace
2f6ded25b6 Fix build 2022-06-12 00:59:12 +02:00
Sollace
b867dc657c Fixed Breezies having multiple heads 2022-06-12 00:39:22 +02:00
Sollace
f3da48b42f Bump mson and ponify the allay 2022-06-12 00:39:09 +02:00
Sollace
89a8e36e10 Switch the model wrappers to use records 2022-06-11 21:00:45 +02:00
Sollace
0c54bdd911 Use the entity's own model for rendering skulls 2022-06-11 20:46:24 +02:00
Sollace
77680341d6 Simply and remove PlayerModels as it's not needed since the move to Mson. Should allow resource packs to override changeling, gryphon, hippo, and kirin models as they were hardcoded as aliases before. 2022-06-11 18:22:35 +02:00
Sollace
f145c59726 Improve bucket fix accuracy and correct head pitch when receiving a look update from the server. Fixes #201 2022-06-10 12:13:33 +02:00
Sollace
cd29726076 Added an option to flap pegasus wings when gliding with elytras. Closes #204 2022-06-09 22:51:38 +02:00
Sollace
c5aab0ea00 Default to passive networking 2022-06-09 22:27:24 +02:00
Sollace
12dc7c1d28 Disable head angle changes when moving through a portal 2022-06-09 22:23:12 +02:00
Sollace
47022fc1e8 Fixed armour stands using the same angles for front and back legs. Closes #199
They should now only mirror the front legs if the angles are the default.
2022-06-09 21:54:13 +02:00
Sollace
9a97227818 Fixed witch drinking animation. Closes #202 2022-06-09 21:40:56 +02:00
Sollace
6f9fd38cb0 1.18.2 -> 1.19 2022-06-09 21:35:51 +02:00
Sollace
58265838b2 Add namespace 2022-05-26 00:44:13 +02:00
Sollace
6cb383952c Optimise villager rendering by first combining the textures so we can render the model once. 2022-05-23 23:19:53 +02:00
AtomicGlow
af802e8e69 This should allow for unemployed villagers to use biome specific skins.
Allows biome specific skins for unemployed villagers.
2022-03-23 06:25:12 -04:00
Sollace
14c34a4f22 1.18.0-pre -> 1.18.2 (breaking changes) 2022-03-03 13:47:50 +02:00
Sollace
52859c7343 Fixed guardians having earth legs 2022-01-13 12:07:51 +02:00
Sollace
5d314b6cce Update HDSkins 2022-01-13 11:33:53 +02:00
Sollace
21a70d205a Fixed incorrect eye height in vehicles when filly cam is turned off 2021-12-23 00:18:48 +02:00
Sollace
73cc5ecc54 Fixed bow positioning and orientation, and make the spyglass slign better to ponies' eye. Fixes #193 2021-12-14 23:35:49 +02:00
Sollace
f2bd8bb3b3 Change "usesTransparency" to "isEnabled" 2021-12-14 23:32:05 +02:00
Sollace
f6341208da Fixed transparency on players' arms in first person 2021-12-14 13:37:36 +02:00
Sollace
2ad3280cac Perform a little housekeeping 2021-12-09 16:42:09 +02:00
Sollace
9132097c41 Fixed arms being slightly detached off of pillager's bodies when holding a crossbow 2021-12-09 15:18:13 +02:00
Sollace
e5f2170186 Fixed fillies floating slightly off the ground when sneaking 2021-12-09 15:17:41 +02:00
Sollace
76cfec8224 Fix lighting on changeling wings and make them visible when not flying 2021-12-09 15:17:21 +02:00
Sollace
f7576bc83b Fixed eye height being affected when it shouldn't 2021-11-25 19:09:09 +02:00
Sollace
42cebcc1f6 Allow for pony data to be loaded from off-thread processes 2021-11-25 00:41:12 +02:00
Sollace
b3667ec3dc 1.17 -> 1.18-pre8 2021-11-25 00:09:34 +02:00
Sollace
53ca978c34 Missing @Overrides 2021-11-17 01:22:30 +02:00
Sollace
b9538495d0 Fix some jankyness with seapony models 2021-10-11 17:29:55 +02:00
Sollace
e1f54c3155 Fix missing translation for seapony mode 2021-10-11 13:28:57 +02:00
Sollace
ebd9fee659 Fixed debug hitbox rotations 2021-08-16 16:56:58 +02:00
Sollace
46f171523a Rewrite armour texture resolution and add support for custom armour using the CustomModelData nbt tag. 2021-08-13 23:35:48 +02:00
Sollace
ee68753528 Migrate models to mson v2 2021-08-09 20:52:14 +02:00
Sollace
844bced2db Fixed crash when toggling pony rendering of certain mob types 2021-08-09 16:01:56 +02:00
Sollace
fcbc95e14e Add networking option to only send player skin data when the server has requested it. 2021-08-03 18:30:34 +02:00
Sollace
eb8ab20e23 Fix a mixin 2021-08-03 15:59:31 +02:00
Sollace
7ac7f2d90d Fixed rendering of items on unicorns' heads 2021-08-03 15:21:52 +02:00
Sollace
1ae5a7916a Fixed sleeves not aligning correctly with the arms when sitting 2021-07-08 19:16:01 +02:00
Sollace
2ff66e3824 Fixed incorrect eye height after dismounting. Fixes #190 2021-07-07 17:09:24 +02:00
Sollace
fa2b1e58bd Formatting change 2021-06-29 19:22:26 +02:00
Sollace
aab8de2e89 Update Mson 2021-06-23 23:44:52 +02:00
Sollace
87d2d466a7 Fixed items rendering with a red tint. Closes #188 2021-06-21 23:47:58 +02:00
Sollace
ad82af2e56 Fix naming collission between MagicGlow.Color and util.Color 2021-06-21 23:47:58 +02:00
Sollace
e697d82011 Change villager clothes to use the same attributes as the base entity. Fixes #187 2021-06-21 01:00:56 +02:00
Sollace
70f4ab7a0a Only send events for players that are supposed to send events. Should also fix clients sending unneccessary events and maybe triggering some anti-spam filtering on servers. 2021-06-20 19:17:01 +02:00
Sollace
53625f6b44 Added an option to turn off third person magic and make arm animations for unicorns consistent with other races 2021-06-20 02:25:33 +02:00
Sollace
556b4d780e Clean up usages of MsonPart 2021-06-19 15:29:16 +02:00
Sollace
b9348b81bc Fixed villagers missing ears 2021-06-14 23:00:08 +02:00
Sollace
4748c7e5af Fixed parasprites missing a wing 2021-06-14 22:59:58 +02:00
Sollace
d2e5c65341 Migrate to jebrains annotations 2021-06-10 19:32:21 +02:00