Commit graph

1099 commits

Author SHA1 Message Date
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
Sollace
0ea6cad9a6 Fixed posture when using riptide 2021-06-07 16:27:54 +02:00
Sollace
7ba88d439b 21w19a -> 1.17-rc1 2021-06-06 20:38:11 +02:00
Sollace
ca83c252f9 Added a tooltip to the pony settings button 2021-05-18 00:09:16 +02:00
Sollace
228ab92fce Added a button to access MineLP's settings from the skin uploader 2021-05-17 23:27:21 +02:00
Sollace
b7402c5f2b Unused import 2021-05-17 00:22:26 +02:00
Sollace
0c76804cac Added a trigger pixel display to the skin uploader 2021-05-17 00:21:20 +02:00
Sollace
e85ac9f6c1 Usability tweaks + added a button to open the hd skins gui directly from the pony settings screen 2021-05-16 19:05:35 +02:00
Sollace
1423e6d7b0 Fixed skin preview showing background ponies when given a broken skin 2021-05-16 16:20:02 +02:00
Sollace
f646536849 21w11a -> 21w19a 2021-05-15 01:14:42 +02:00
Sollace
e5fc54c49f 21w05b -> 21w11a 2021-03-27 22:54:16 +02:00
Sollace
99ed7699a1 20w49a -> 21w05b 2021-03-26 22:50:41 +02:00
Sollace
28d2b805ed More work on making Mine Little Pony more moddable 2021-03-26 22:50:37 +02:00
Sollace
abfab92d78 Improve modding support for adding custom gear 2021-03-26 22:48:17 +02:00
Sollace
edfdcacae1 Improved separation between client-fabric and server-unknown and add Size(details) and Wearables to what's sent 2021-03-26 22:48:16 +02:00
Sollace
08cfb35520 Add an event for when a pony skin's data is resolved for the player. Requested by @DataByte 2021-03-26 22:48:15 +02:00
Sollace
d357f46068 Add proper ponified models for armour stands 2021-03-26 22:48:14 +02:00
Sollace
08d131d846 Improved the spyglass holding animation 2021-03-26 22:48:13 +02:00
Sollace
5fdc5250b8 20w46a -> 20w49a 2021-03-26 22:48:12 +02:00
Sollace
7620f6090f Implement arm positioning for the spyglass 2021-03-26 22:48:12 +02:00
Sollace
baf4b2a754 1.16.4 -> 20w46a 2021-03-26 22:48:07 +02:00
Sollace
763510149f Removed testificates 2021-03-16 17:55:33 +02:00
Sollace
75f6d6d154 Use the entity's height to inform a correct position for the nameplate 2021-03-11 16:21:06 +02:00
Sollace
8cca01effc Remove deprecated api reference 2021-03-07 17:46:09 +02:00
Sollace
c7ea57c2b6 Separate wing angle and whether a model is horizontal into separate model attributes 2021-03-01 00:16:39 +02:00
Sollace
83e253448f Fix mixins 2021-02-26 16:18:08 +02:00
Sollace
37f03edd2c Added an event to allow mods to change the state of pony models before render 2021-02-26 12:23:08 +02:00
Sollace
e2fc9df53a Add an entrypoint for mods that want to do something if MineLP is present 2021-02-26 11:34:23 +02:00
Sollace
3e5960471b Adjust head position and neck clipping on tall, lanky, and yearling models. Fixes #182 2021-02-26 11:30:10 +02:00
Sollace
e1339fb2a8 Remove deprecated override 2021-02-26 11:30:03 +02:00
Sollace
90055cd4cd Lock certain features to prevent people form abusing them in smp 2021-02-26 10:17:37 +02:00
Sollace
d74a853824 Fixed eye position when riding a vehicle 2021-02-26 10:17:15 +02:00
Sollace
728e2b1a39 Seaponies cano now have a dedicated texture separate from the normal skin 2020-11-10 22:49:30 +02:00
Sollace
97f71ffa24 Fix build and bump dependencies 2020-11-10 21:38:05 +02:00
Sollace
32b8c29073 Fixed parrots on shoulders rendering at the wrong position 2020-08-26 15:02:56 +02:00