Commit graph

381 commits

Author SHA1 Message Date
Sollace
4e4b83fb30 Moved IRenderManager.addPlayerSkin up one and put stuff with PlayerModels into one spot 2018-04-30 08:51:36 +02:00
Sollace
e2c94901c4 Tried dissassembling the staircase, but it broke half the model. Could probably get it to work, but it'd take more math. 2018-04-30 08:31:57 +02:00
Sollace
b69c365a5d Let's cut this down a bit 2018-04-29 23:40:09 +02:00
Sollace
35e9ef750b Fixed leg outset being encorrect for normal width legs 2018-04-29 23:06:34 +02:00
Sollace
0f7605edc3 Can't always rely on Minecraft.getConnection. Mojang pls 2018-04-29 20:19:30 +02:00
Sollace
871f12c3e2 Ponies no longer float above beds when they're sleeping 2018-04-29 20:18:57 +02:00
Sollace
06c608acba Fixed Vex overlays not being aligned to its body 2018-04-29 18:07:44 +02:00
Sollace
7d4c7ede88 Fixed various leg alignment issues (may break resourcepacks)
May Break Resourcepacks:
 To fix, just rescale skeleton legs to 2x2 pixels
 width keeping the original positions.
2018-04-29 18:00:26 +02:00
Sollace
7060359f58 Shhh you saw nothing (items glow again) 2018-04-29 16:41:40 +02:00
Sollace
fd68e60923 Refactoring for refactoring's sake. I wasn't happy with how things were split up 2018-04-29 14:22:26 +02:00
Sollace
07f1dfb60b Fixed smith pony displaying the wrong snout 2018-04-29 14:20:30 +02:00
Sollace
dfb338e39d Fixed snouts 2018-04-29 14:20:13 +02:00
Sollace
44ab173613 No longer used 2018-04-29 11:57:59 +02:00
Sollace
4b27e432b9 Move some things for consistency 2018-04-29 11:56:26 +02:00
Sollace
7fbc14ca01 Added a model for witches (current texture is a placeholder until we can get Zebras) 2018-04-28 23:00:01 +02:00
Sollace
3f32e2b19a Zombie villagers will render with saddlebags and all the other stuff normal villagers do 2018-04-28 22:59:19 +02:00
Sollace
9f705df9c5 Fixed horn glow rendering looking derped 2018-04-28 21:23:26 +02:00
Sollace
7237480d04 When you're sick and tired of staring at this unreadable code 2018-04-28 21:23:08 +02:00
Sollace
de88e95ffe Unused import 2018-04-28 20:39:21 +02:00
Sollace
45ad30503c Okay, things are clear now. CRYSTAL CLEAR 2018-04-28 18:20:56 +02:00
Sollace
7ff68e0e4f Snippity snippity. That should fix horn glows 2018-04-28 18:13:35 +02:00
Sollace
12ec6c1302 Break ModelPlayerPony into each different race 2018-04-28 16:39:32 +02:00
Sollace
6335e206d9 Sneaky buggers 2018-04-28 12:48:51 +02:00
Sollace
e5a453abd0 Reformatting missed some tabs 2018-04-28 12:44:10 +02:00
Sollace
25a42908e9 Apparantly this is correct? 2018-04-28 12:35:22 +02:00
Sollace
9dd0c0dfb8 Copy the texture width/height with children 2018-04-28 12:29:26 +02:00
Sollace
da3f14c85b Killjoy reminded me you can use interfaces for this 2018-04-28 12:28:45 +02:00
Sollace
2dfe647165 All four legs are now thin, update the ALEX skin to have thin legs 2018-04-27 23:23:47 +02:00
Sollace
52ed49defd Mobs now flap their wings when falling/flying 2018-04-27 23:23:07 +02:00
Sollace
3a4e1fc32a Fix mirroring issues on villager's saddlebags, add depth to the bag's strap 2018-04-27 21:49:27 +02:00
Sollace
2e090498db Rewrite breezies (and ensure it has a head) 2018-04-27 21:48:55 +02:00
Sollace
2b154d2441 Some more tidying up 2018-04-27 20:37:54 +02:00
Sollace
b410b988a2 Try not to break horribly when encountering an unexpected profession (can't assume new ones won't be added later on / by mods). 2018-04-27 19:12:45 +02:00
Sollace
8118cff5b6 Now that I know where this delegates, let's be consistent. 2018-04-27 19:10:22 +02:00
Sollace
e14b601b9f Merge RenderPonyEvoker + RenderPonyIllusionIllager + RenderPonyVindicator = RenderPonyIllager 2018-04-27 19:08:23 +02:00
Sollace
235494cd6c Split the held item renderer up into a magical and non-magical variant since they not neccessarily neet to be together 2018-04-27 19:06:22 +02:00
Sollace
b00b2745e1 Rename 'translateToHand' to better reflect what it does 2018-04-27 17:55:30 +02:00
Sollace
13ba3379c9 Use generics 2018-04-27 17:50:13 +02:00
Sollace
0e0ee17f46 Codestyle to remove all trailing whitespace, unneccessary this arguments, and standardise parameter names 2018-04-27 13:49:33 +02:00
Sollace
7fbb56ad79 No changes, just whitespace 2018-04-27 09:48:55 +02:00
Sollace
7d8e971f03 Rename BasePonyRenderer -> AbstractPonyRenderer 2018-04-27 09:47:23 +02:00
Sollace
17624c484a Clean up elytra code 2018-04-27 09:46:44 +02:00
Sollace
36ee3966d7 Tidy up snuzzles 2018-04-26 23:55:09 +02:00
Sollace
c6e81529f3 More formatting 2018-04-26 23:54:05 +02:00
Sollace
7a66dfda42 Tidy up ponytails 2018-04-26 23:53:22 +02:00
Sollace
2ad7119723 Yet more codestyle! 2018-04-26 23:53:03 +02:00
Sollace
785784b694 Move HornGlow to the correct package 2018-04-26 23:46:53 +02:00
Sollace
441fc61508 Apparantly google hates concise readable code. So there, can't complain about static members if they're not static. :P
I may just revert this later...
2018-04-26 22:31:26 +02:00
Sollace
16eed1e568 More codestyle 2018-04-26 22:30:17 +02:00
Sollace
ca2e5ddf46 Fixed some armour issues 2018-04-26 18:20:22 +02:00
Sollace
f01bdd973b Added some more swing to tails 2018-04-26 18:19:25 +02:00
Sollace
d233399b68 Fixed skeleton legs not swinging 2018-04-26 17:21:47 +02:00
Sollace
af3dff6c87 Fix errors when rendering armour 2018-04-26 17:20:40 +02:00
Sollace
2ef344d9d3 Debug 2018-04-26 17:20:22 +02:00
Sollace
618a9b78bb Rewrite wings - fix walking/interacting wing animation 2018-04-26 17:20:02 +02:00
Sollace
280013c8a4 Rewrite model code (part 1) 2018-04-26 16:01:31 +02:00
Sollace
75cb0eb6fc Rewrite the plane renderer/horn glow renderer to be more sensible 2018-04-26 16:00:01 +02:00
Sollace
d6c5e2bd0b Reimplement Daring Doo (STEVE) / Night Guard (ALEX) 2018-04-26 15:56:36 +02:00
Sollace
3dbedc3a5b This is why you test things, folks 2018-04-26 15:54:27 +02:00
Sollace
0c6e2a74ff Infinite loops are bad, mmmkay? 2018-04-25 22:02:02 +02:00
Sollace
5964cf1bc4 What time is it? Amputation time! 2018-04-25 21:38:11 +02:00
Sollace
9391c1d8c0 Code stylee, documentation, fixed leg alignment 2018-04-25 21:29:49 +02:00
Sollace
f151b31597 Clean up armor/armour, clean up villager models, more package changes 2018-04-25 16:40:47 +02:00
Sollace
403c195007 Time to tackle packages (phase 1: separate the data from all the other carp) 2018-04-25 13:02:10 +02:00
Sollace
5da88c8551 Wave 3, simplify trigger pixel handling 2018-04-25 13:00:18 +02:00
Sollace
52e2c84b67 Model rewrites wave 2, clean up horn rendering, plane rendering, Zombie and Skeleton models 2018-04-25 12:59:18 +02:00
Sollace
b9e9251c43 Model rewrites wave 1, moved pony tails to their own class 2018-04-25 09:49:41 +02:00
Sollace
228c32b4e5 Fixed Top and Bottom planes being reversed causing encorrect lighting on ponies 2018-04-25 09:45:41 +02:00
Sollace
1718868ca4 Format PonyModelConstants 2018-04-24 21:35:42 +02:00
Sollace
8895d52fe1 Fixed various bugs with the new renderer / added a flying-strafing animation 2018-04-24 21:25:30 +02:00
Sollace
e25326eed4 Fixed position/angle of the wings 2018-04-24 21:24:29 +02:00
Sollace
0657a03703 Models now work again 2018-04-24 17:12:23 +02:00
Sollace
a99873f8e6 Refactor PegasusWings 2018-04-24 16:46:53 +02:00
Sollace
fbb40134e2 * Move player rendering to make use of the build in skinMap
* Remove reflection
* Use the interface (IPonyData) not the class
2018-04-24 14:55:32 +02:00
Sollace
694db391bb Giants are now ponies 2018-04-12 16:21:19 +02:00
Sollace
e93c4784ee Build/silence warnings 2018-04-10 14:17:54 +02:00
Matthew Messinger
ae005e3323 Fix freezes for good. This also properly fixes network race issues. 2018-01-03 00:29:32 -05:00
Matthew Messinger
2c592768d3 Fix race condition where one server will respond first if it happens to be faster. 2018-01-02 03:02:08 -05:00
Matthew Messinger
b0e30dbcdc Fix freeze when skull texture payload has no id. 2018-01-02 03:01:24 -05:00
Matthew Messinger
ca9743e377 Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2018-01-02 00:19:28 -05:00
Matthew Messinger
18980c2ca2 First touches on multiple skin server support. 2018-01-02 00:18:50 -05:00
The_WeatherPony
fa7e4e6b60 Added Additional Races (#39)
Added Reformed Changeling, Griffin, and Hippogriff pony races for addon mods.
2017-11-27 23:28:48 -05:00
Matthew Messinger
056c0d8baa Update to 1.12.2 2017-10-06 13:22:16 -04:00
Matthew Messinger
486f787db3 Try not changing the skin server. Might improve skin loading. 2017-08-08 16:49:05 -04:00
Matthew Messinger
6e1689cc66 Update to 1.12.1 2017-08-08 16:33:33 -04:00
Matthew Messinger
93f4418a83 Add @reason tag to getEntityTexture overwrite javadoc 2017-07-29 00:03:18 -04:00
Matthew Messinger
4fe2035f81 Update for mixins 0.7. Fixes #35 2017-07-28 14:25:26 -04:00
Matthew Messinger
e5c0cc1609 Version bump 2017-06-22 00:35:29 -04:00
Matthew Messinger
192ed73809 Fix skin menu not showing ponies 2017-06-16 04:07:07 -04:00
Matthew Messinger
4950ba2161 Add toString method to Pony classes. 2017-06-16 03:58:44 -04:00
Matthew Messinger
29f2f5ee58 Fix class cast exceptions
* elytras in skins menu
* zombie villagers
2017-06-16 02:14:50 -04:00
Matthew Messinger
62e77acc38 Make Ponies and metadata immutable 2017-06-16 02:13:24 -04:00
Matthew Messinger
825fc22f55 Fix mappings for hdskins 2017-06-16 02:11:38 -04:00
Matthew Messinger
05483e1961 Make LayerEntityOnPonyShoulder include more entities
Includes a method for getting a possible forge layer later.
2017-06-16 02:09:49 -04:00
Matthew Messinger
8b99a03e28 Remove randomness from mobs and fix some super issues
Also update mappings
2017-06-16 01:35:02 -04:00
Matthew Messinger
a165477108 Fix entities not rendering after reloading resources 2017-06-13 05:10:34 -04:00
Matthew Messinger
52da7f800b Fix vindicator's metadata not updating, causing its held item to be misplaced 2017-06-13 05:09:55 -04:00
Matthew Messinger
022a118450 Add mcp annotation for non-decomp builds (travis) 2017-06-13 04:21:43 -04:00
Matthew Messinger
df7c04ad30 Fix build error 2017-06-13 04:01:32 -04:00
Matthew Messinger
c9d7a394ad Update to 1.12
Changes:
 * Added a base layer class which can intelligently switch between pony and human.
 * Skins no longer are "converted" when they are already in the new format.
 * Illagers now use the existing model and texture format.
 * Metadata can now be read from the .mcmeta file (taken from old illagers)
 * Non-converted resources are no longer re-uploaded
 * (1.12) Parrots are rendered on the head instead of shoulders
2017-06-13 03:31:01 -04:00
Matthew Messinger
370e8e3af3 fix nullables and formatting 2017-06-13 01:27:30 -04:00
Matthew Messinger
a411969a98 Add package-info files for annotations 2017-06-12 23:44:34 -04:00
Matthew Messinger
3d818cd9d2 Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2017-03-28 02:08:01 -04:00
Matthew Messinger
ba5642b310 Fix modded armors.
Bug 1: forge postinit wasn't being called. Probably issue with event stub. Got rid of it to avoid the hassle.
Bug 2: ForgeHooksClient stub had bad signatures.
2017-03-28 02:03:51 -04:00
Venaf
59b39f1080 Fix for extended wing position relative to body (#27) 2017-02-14 15:12:05 -05:00
Matthew Messinger
a1cb565275 Add travis config
Also another itemstack == null
2017-02-13 23:29:04 -05:00
Matthew Messinger
4fbf5b8a22 Delete the cache file when a 404 error occurs.
This will prevent the file from being loaded again if the connection fails in the future.
2016-12-30 00:44:35 -05:00
Matthew Messinger
a194aed282 Add a status check for 404 in the skin download.
Should not load from the cache if the skin was deleted.
2016-12-30 00:06:39 -05:00
Matthew Messinger
e016f420a7 Fix block heads for humans and add support for rendering items on the head. 2016-12-29 03:09:21 -05:00
Matthew Messinger
d68b335a62 override transform in humanplayer instead of testing instanceof. 2016-12-29 03:07:43 -05:00
Matthew Messinger
f5c2fe7045 Fix capes showing while elytra is worn 2016-12-29 03:06:25 -05:00
Matthew Messinger
e87c550f2b Use an etag for caching instead of md5.
Release for 1.11.2
2016-12-27 18:56:50 -05:00
Matthew Messinger
50e29823d7 put skin cache back in the skins folder and clear the internal cache when needed. 2016-12-27 01:57:58 -05:00
Matthew Messinger
d5e766aaef Mobs can now wear elytras. 2016-12-26 21:15:25 -05:00
Matthew Messinger
6c0542ff89 Fix rendering issues with elytra flight 2016-12-26 20:58:21 -05:00
Matthew Messinger
80516f9068 Fix head being wrong while riding after sneaking 2016-12-26 17:38:32 -05:00
Matthew Messinger
08860dd13e Fix hanging when loading several skins at once.
Fixes #25
2016-12-25 20:28:08 -05:00
Matthew Messinger
15eccc5b99 Search the resource packs for a human texture with higher priority. 2016-12-21 04:46:16 -05:00
Matthew Messinger
886b12f157 Fix armors for non-pony textures. 2016-12-21 03:22:15 -05:00
Matthew Messinger
d73f82173a Inline the skins localizations. 2016-12-21 01:22:55 -05:00
Matthew Messinger
8971183121 Add support for uploading elytras. 2016-12-21 01:20:02 -05:00
Matthew Messinger
77b79e432c Forgot to add mixin to config. 2016-12-20 05:29:37 -05:00
Matthew Messinger
e87717387e Fix log message in PonyManager 2016-12-20 05:29:12 -05:00
Matthew Messinger
3b5b4bf011 Rename PonyArmors to be more obvious that it wraps ForgeHooks. 2016-12-20 05:28:56 -05:00
Matthew Messinger
f626345e8c Fix #16 by using a mixin on the item renderer instead of trying to recreate it myself. 2016-12-20 05:19:57 -05:00
Matthew Messinger
3dce2be978 Don't "convert" a skin if it's an elytra or cape. 2016-12-20 01:36:34 -05:00
Matthew Messinger
e38611637a Fix forge issue by using a anonymous class for minecraft interfaces. 2016-12-20 01:35:20 -05:00
Matthew Messinger
33390c66d4 Fix missing wing when using optifine.
Why didn't I think of this earlier?
2016-12-08 04:02:22 -05:00
Matthew Messinger
0cfe8fdee7 sync the armor better.
This also fixes pegasus wings while riding.
2016-12-04 02:19:37 -05:00
Matthew Messinger
0c0a42be11 Fix horns 2016-12-02 11:00:47 -05:00
Matthew Messinger
bb469b725c Fix skin uploading 2016-12-02 10:50:46 -05:00
Matthew Messinger
e411f6680d Make changing mob ponifications not need a restart. 2016-12-01 02:24:21 -05:00
Matthew Messinger
9e951f5aa7 Add the vex textures and add the illagers to the options. 2016-12-01 02:21:35 -05:00
Matthew Messinger
aead97e244 Remove liteloader mappings "fixes". 2016-11-28 03:47:16 -05:00
Matthew Messinger
e9f04db833 Remove IPonyPart in favor of just a ModelBase. 2016-11-25 00:55:24 -05:00
Matthew Messinger
ef0f069e34 Code cleanup. 2016-11-25 00:37:49 -05:00
Matthew Messinger
b972fda9af Remove remote player skin metadata XP
Also use java 8.
2016-11-24 02:26:02 -05:00
Matthew Messinger
17ee345c11 Add the vindicator and evoker ponies 2016-11-24 02:03:40 -05:00
Matthew Messinger
8dfac7be08 Fix itemstack null checks 2016-11-22 16:20:23 -05:00
Matthew Messinger
9c7b6cd621 Simplify models a bit (TODO) 2016-11-22 16:19:18 -05:00
Matthew Messinger
7725da0710 Fix langs for hdskins. 2016-11-22 16:16:06 -05:00
Matthew Messinger
cc3c1b77b0 Add fixes for liteloader's outdated mappings.
Remove these when it updates
2016-11-22 16:14:27 -05:00
Matthew Messinger
945996cfa4 Update mappings 2016-11-22 16:13:24 -05:00
Matthew Messinger
bd597bbf1b Fix localizations. 2016-11-17 03:41:56 -05:00
Matthew Messinger
9fd9a1b7ec Add breezies as the vex. 2016-11-17 01:01:38 -05:00
Matthew Messinger
38ccaf8e2d Change package 2016-11-17 00:03:35 -05:00
Matthew Messinger
2245e42ad0 Initial update to 1.11. Features next. 2016-11-16 23:45:21 -05:00
Matthew Messinger
bf5b141687 Fix hd skin loading 2016-11-14 00:39:27 -05:00
Matthew Messinger
43d1edd030 Fix typo in stray resourcelocation path. (testures)
Also add metadata to setModelAttributes
2016-11-11 22:42:46 -05:00
Matthew Messinger
de518e7830 Fix dark spot on wings 2016-11-11 22:41:52 -05:00