Commit graph

746 commits

Author SHA1 Message Date
Sollace
8afe1ab07c Rewrote the villager texture cache. It won't attempt to verify textures every time one is retrieved now. That should improve performance. 2019-02-05 10:48:27 +02:00
Sollace
0ac62558f4 Cleanup/document/etc 2019-02-05 10:47:51 +02:00
Sollace
55dea27d2f Fixed NPE when rendering heads 2019-01-08 22:34:15 +02:00
Sollace
d144cea927 I should not have commited that :oops: 2019-01-06 18:09:47 +02:00
Sollace
90cd8c4cea Fixed interpolators not being unique per entity/player 2019-01-06 18:07:42 +02:00
Sollace
96825570a6 Normalise GL.pop/pushAttribute method usage. Docs say we shouldn't use the GlStateManager methods. I'm include to agree. I don't think they're meant for general popping/pushing of all attributes. 2018-12-10 22:33:06 +02:00
Sollace
65cf88e50a Added a particle effect when switching from pony to seapony and back 2018-12-10 00:05:33 +02:00
Sollace
3adfef141c Occassionally cull the ponies cache of unused values to prevent a gradual increase in memory usage 2018-12-09 23:29:14 +02:00
Sollace
ab881956a7 Move PonyManager into the same package as Pony and IPony so we can protect stuff 2018-12-09 23:18:17 +02:00
Sollace
db65d36af1 Ponies no longer have to be fully submerged to become seaponies 2018-12-09 23:15:44 +02:00
Sollace
21fab5e5fe Fixed seaponies 2018-12-09 23:02:04 +02:00
Sollace
5f01814441 Added a very festive surprise 2018-12-09 18:27:40 +02:00
Sollace
dd46e8266a Don't assume the length of the pool 2018-12-08 18:10:53 +02:00
Sollace
62ebc1f351 Removed commented debug code 2018-12-08 18:10:40 +02:00
PolyacovYury
de5c2f92d3 Restored old behaviour of pegasus left/legacy wing texture 2018-11-06 18:02:13 +03:00
PolyacovYury
3777f4f7c9 As far as I understand, .tex() and .flip() can change places 2018-11-06 17:11:02 +03:00
PolyacovYury
bf8f3ef02a Batpony ear tufts: z-fighting on inner sides of ears fixed 2018-11-06 02:16:31 +03:00
PolyacovYury
d98d2c26bb Batpony wings: mirroring fix, proper z-fighting fix, position adjustment 2018-11-06 02:16:31 +03:00
PolyacovYury
8d1804aaf7 Fixed saddlebags not mirroring front and back faces
(that single flip() call looks dangerous, but it didn't break anything)
2018-11-06 02:16:30 +03:00
PolyacovYury
837315d008 Adjusted changeling wing position and animation.
- Don't open wings if swimming (looks odd)
- Don't wear saddlebags (same reason)
2018-11-06 02:16:30 +03:00
PolyacovYury
341383bd42 Removed redundand texture shift for left and legacy wings (and cleaned code that made it possible) 2018-11-06 02:16:30 +03:00
Matthew Messinger
d8918e3ef7 Fix bgpony case and remove cased resource. 2018-11-03 16:47:36 -04:00
Sollace
53f5b7a9d8 Exorcised Zecora's demons 2018-11-02 23:07:41 +02:00
Sollace
22dd30a9d3 Debug code pls 2018-11-02 14:40:14 +02:00
Sollace
e4a4e2d803 Recursively discover and load background ponies 2018-11-02 14:38:50 +02:00
Sollace
347f2b44c1 Fixed background ponies not loading due to different case 2018-11-02 14:34:50 +02:00
Sollace
db14308a0c Made zombie villagers act a bit more like zombies. And villagers. 2018-11-02 11:57:57 +02:00
Sollace
972a49c024 Fixed crash due to missing textures 2018-11-02 11:25:13 +02:00
Sollace
9f3042356b Fixed inverted lighting issues 2018-10-31 20:47:50 +02:00
Sollace
9d2e4af715 Fixed flying animation not working when the player is on a ladder whilst flying in creative mode 2018-10-31 19:40:33 +02:00
Sollace
0ae50ed2a0 Fixed sleeping floaters 2018-10-31 17:10:52 +02:00
Sollace
61de5ca0a4 Strip out the default/slim constants 2018-10-31 15:09:28 +02:00
Sollace
3db1965da4 Fixed positioning of ponies riding other ponies, and fixed hitbox calculation (sort of) 2018-10-29 18:46:09 +02:00
Sollace
2f56d64cb5 Disable the custom camera frustum for ponies that are sleeping. Fixes ponies becoming invisible when sleeping next to them 2018-10-29 16:07:21 +02:00
Sollace
e57ae69b44 Oops 2018-10-29 15:45:16 +02:00
Sollace
2c36c99bba Revert "We are the pony now"
This reverts commit c6275cf98b.
2018-10-29 15:16:42 +02:00
Sollace
c6275cf98b We are the pony now 2018-10-29 13:06:41 +02:00
Sollace
6f4df6c407 Fixed ponies not being able to see their own body whilst sleeping 2018-10-29 13:05:59 +02:00
Sollace
0f364327e9 Fixed mis-positioned nameplates when sleeping 2018-10-29 10:28:44 +02:00
Sollace
c08c2a7180 Fixed mis-positioned nameplates when riding 2018-10-29 10:28:44 +02:00
Sollace
85462d5a69 Fixed ponies' wings flapping in their sleep 2018-10-29 10:28:43 +02:00
Sollace
ddbe4c3969 Fixed z-fighting on ponies' legs 2018-10-29 10:28:43 +02:00
Sollace
02c19ee69a Added changeling models 2018-10-29 10:28:32 +02:00
Sollace
c3be5cb976 Added a third gender. My aren't we progressive today... 2018-10-27 17:12:18 +02:00
Sollace
d35f839c3f Fixed the crouching pony bunny hop bug 2018-10-27 10:19:34 +02:00
Sollace
737bb7cca6 Bug prevention: This isn't accessed outside the definint class so let's make it private 2018-10-23 10:12:57 +02:00
Sollace
9314089484 Change the swimming animation (again) and add some motion lerp 2018-10-23 10:12:57 +02:00
Sollace
39b491b5ed Accidentally made this public, but let's make intentional because why not? 2018-10-23 10:12:49 +02:00
Sollace
60c81cc095 Give the hidden setting some <3 2018-10-23 10:04:46 +02:00
Sollace
0f0849d7da Recognise Dinky as a valid input 2018-10-23 09:58:55 +02:00
Sollace
db02f8b80c Fixed armour clipping through shields 2018-10-21 20:34:43 +02:00
Sollace
db54120174 Fixed Illagers not having all the normal render layers that other mobs do 2018-10-21 17:51:19 +02:00
Sollace
358691570f Super secret stuff 2018-10-21 17:19:00 +02:00
Sollace
c8179df19d Unused import 2018-10-21 17:16:08 +02:00
Sollace
53c5719777 Fixed the buggy swimming animation 2018-10-21 17:15:42 +02:00
Sollace
032ce5f651 Pass through the original type to mods (reported by Poly) 2018-10-21 15:31:17 +02:00
Sollace
13282898db Add an interface method for getting an IPony from an already existing resource 2018-10-20 23:18:20 +02:00
Sollace
5a3ccbee58 Fixed first primary feather on spread pegasus wings being too short, resulting in a minor texturing issue seen when sneaking and sometimes whilst flying 2018-10-20 20:48:24 +02:00
Sollace
e9bc043ee6 Fixed legs on foals being _slightly_ too low causing them to be cut off on the skins gui 2018-10-20 20:36:36 +02:00
Sollace
fc69d2eedc Fixed saddlebags sometimes inheriting the wrong texture 2018-10-20 20:08:57 +02:00
Sollace
f66f78693f Rename LARGE -> BULKY and added a LANKY body type (used for Fleur) 2018-10-20 19:09:58 +02:00
Sollace
21ac013034 Add support for more than two states, and added a riding pose 2018-10-20 16:57:49 +02:00
Sollace
1af726c06a The skins gui will now let you see what your character looks like when sleeping 2018-10-20 16:03:53 +02:00
Sollace
4e674377db Fixed elytras not appearing in the correct location on seaponies(?) 2018-10-20 15:50:47 +02:00
Sollace
389fb1857e Fixed clash between snuzzles and the pony's hair layer 2018-10-20 14:12:12 +02:00
Sollace
047fb49ac1 Fixed wearables not appearing on the skin preview 2018-10-19 15:38:54 +02:00
Sollace
485de98c69 Change bat pony's ears (again) 2018-10-17 10:06:20 +02:00
Sollace
a859ea5172 Change batpony race pixels to #eeeeee instead of #dddddd. Closes #99 2018-10-17 09:07:07 +02:00
Sollace
34071a46c6 Fill in various missing documentation 2018-10-12 18:09:40 +02:00
Sollace
da5c985148 Decouple armour from the rest of the models system 2018-10-12 18:01:23 +02:00
Sollace
323db09017 Added a Sweet Apple Acres panorama 2018-10-12 10:24:24 +02:00
Sollace
f6f981ecab Move the panoramas to the correct domain name 2018-10-12 09:51:15 +02:00
Sollace
192a34745e Fixed some z-fighting due to ponies' legs not all being at the same level 2018-10-11 16:41:13 +02:00
Sollace
c6be9e5088 Add a debug key for reloading models 2018-10-02 00:04:27 +02:00
Sollace
fb78e806ea Don't render gear on invisible entities (however hilarious that was) 2018-10-01 20:11:00 +02:00
Sollace
1b3e160c3e Seprate the strafing code to its own class so it can be used outside of Minelp 2018-10-01 20:10:32 +02:00
Sollace
b5e0df7297 Adjust the design of bay pony ears based on feedback 2018-09-27 19:06:52 +02:00
Sollace
8c21872bc3 Minor changes to make Vertex more useful to other mods 2018-09-23 11:37:33 +02:00
Sollace
0624da539d Integrate with the vanilla minecraft's bounding box debugger 2018-09-20 14:57:24 +02:00
Sollace
5e56f5101f Include players in the debug box rendering and frustrum checks 2018-09-20 14:56:50 +02:00
Sollace
35a5be96ab Add hitbox calculation and custom frustrum checking for mobs 2018-09-20 14:33:15 +02:00
Sollace
169ac3d3b9 Apply rider position on a per-size basis and recursively translate riders higher up the stack 2018-09-20 11:33:27 +02:00
Sollace
46c4244b7e Adjust ponies riding posture to be less propane 2018-09-19 23:23:06 +02:00
Sollace
ff57ec8e40 Allow for mounted ponies to translate riding ponies onto their mount's backs, and apply postures to them 2018-09-19 19:43:23 +02:00
Sollace
cd27adb14e Fixed seaponies messing with transparency effects 2018-09-18 21:05:34 +02:00
Sollace
0226743f31 Rework folded bat wings slightly 2018-09-16 19:23:54 +02:00
Sollace
dc34d9ca6f Fixed bone placement and z-fighting on extended bat wings 2018-09-16 19:23:29 +02:00
Sollace
cbaeb9aaca add a hat stack 2018-09-16 16:06:56 +02:00
Sollace
891df59dfc Fixed bat wings not accurately mirroring each other 2018-09-16 16:05:24 +02:00
Sollace
ec1ef8ed6b Remove stetson lag 2018-09-10 19:37:58 +02:00
Sollace
b1a8627e9a De-debugging! So it that just like... bugging? 2018-09-10 17:27:31 +02:00
Sollace
0a171b6a56 Add stetsons 2018-09-10 15:40:56 +02:00
Sollace
f25c269360 Fixed zebra neck/head placement 2018-09-10 15:40:06 +02:00
Sollace
0f8209c06b It fixed itself? 2018-09-09 20:20:36 +02:00
Sollace
ea5ec9fdbe Missed this. 2018-09-09 19:49:26 +02:00
Sollace
c120207b2f Fix z-fighting on pony heads 2018-09-09 19:43:54 +02:00
Sollace
a919c76638 Separate wearables from their parent models 2018-09-09 19:40:34 +02:00
Sollace
2fc4dcae90 Didn't mean to commit that 2018-09-07 21:20:35 +02:00
Sollace
fa7417f87b Added missing @Override annotations 2018-09-07 21:16:07 +02:00
Sollace
0d75285808 Abort mission, abort mission! Expanded the wrong one. 2018-09-07 20:18:44 +02:00
Sollace
1654a26ecd E.X.P.A.N.D ARMOUR 2018-09-07 20:13:36 +02:00
Sollace
0f454b753c Ignore transparent colours when reading trigger pixels 2018-09-07 13:12:15 +02:00
Sollace
283b7b56c7 Zombie villagers neeed this too 2018-09-06 15:39:32 +02:00
Sollace
dec6ad249f Re-organise package structure 2018-09-06 13:44:41 +02:00
Sollace
d78bd02d7b Revert: Zombies should still have a race pixel for their skulls 2018-09-05 17:09:26 +02:00
Sollace
d9ef32cc3c Let the models define their heights 2018-09-05 13:56:07 +02:00
Sollace
c74f05873e Adjust nameplate positioning on ponies. 2018-09-05 11:33:48 +02:00
Sollace
ac3a7c7668 Document flipFace() behaviour 2018-09-05 10:46:19 +02:00
Sollace
987e24d3a5 Rename plane renderer methods to be more in line with PonyRenderer 2018-09-05 10:17:22 +02:00
Sollace
d94e0953a7 Rearrange rendering packages to make them distinct from entity renderers 2018-09-05 10:12:38 +02:00
Matthew Messinger
5851b1b46f Don't clear the skins when reloading the textures.
All that really needs to be done is reparse.
2018-09-04 19:08:04 -04:00
Sollace
005f5c0f45 Try to handle unknown villager professions. If this works correctly skins not present should become the generic villager pony 2018-09-04 23:58:15 +02:00
Sollace
14edc9086f Update this description 2018-08-31 11:45:09 +02:00
Sollace
d9f3cd5202 Revert show accurate scaling 2018-08-30 18:42:27 +02:00
Sollace
c622eeb2c1 Fixed steve pony heads having deadmou5 ears 2018-08-30 18:42:12 +02:00
Sollace
c2ac9cbbfa Use an interface for Pony instead of the class 2018-08-30 16:12:21 +02:00
Sollace
0debe17afe Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2018-08-30 13:30:46 +02:00
Sollace
402a394edc Fixed fps magic still running when at PonyLevel.HUMANS 2018-08-30 13:30:23 +02:00
Matthew Messinger
f04d67caba Forge doesn't like notch names and neither do I. 2018-08-29 20:03:42 -04:00
Matthew Messinger
4346ccda37 Fix noskins 2018-08-27 19:22:34 -04:00
Sollace
e4a4de75b0 PonyDataSerialzier -> PonyDataSerialiser 2018-08-27 17:04:16 +02:00
Sollace
753e5e5155 Batponies don't wear saddlebags. They're too cool for that. 2018-08-27 16:00:12 +02:00
Sollace
abfb6ed9d7 Adjust texture mapping for bat wings 2018-08-27 15:58:09 +02:00
Sollace
e69876f0c7 Yet more warnings 2018-08-27 15:39:48 +02:00
Sollace
e1cfe8aa68 Unused variable 2018-08-27 15:37:52 +02:00
Matthew Messinger
91f741fa08 Fix PonyLevel.PONIES not working correctly. 2018-08-26 18:30:04 -04:00
Matthew Messinger
fd113f1b90 Stop skin updates when the pony level hasn't updated 2018-08-26 18:27:28 -04:00
Matthew Messinger
f54e54da40 Fix skulls causing Pony to load before the texture is loaded. 2018-08-26 16:35:15 -04:00
Matthew Messinger
d9ddd3f842 Remove slim from Pony class. 2018-08-26 15:32:17 -04:00
Matthew Messinger
a022d3758a Refactor Skulls to separate them from their entity renderer.
(Most mods would just create their own TESR class for custom skulls)
2018-08-26 15:30:22 -04:00
Matthew Messinger
e38856aee7 Add skin parser used to populate metadata based on the image data 2018-08-25 22:40:07 -04:00
Sollace
1442dc51a3 Make bat wings more wing-like 2018-08-26 04:17:35 +02:00
Sollace
9a4c0a4804 Fixed player skulls not rendering a magical glow 2018-08-26 03:40:17 +02:00
Sollace
23f01e0f12 Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2018-08-26 03:13:22 +02:00
Matthew Messinger
8eb19c117f Quick fix for mixin conflict which caused ponies to be broken 2018-08-25 16:53:42 -04:00
Sollace
75bb59eeab Bat wings for bat ponies. Kinda. 2018-08-25 17:40:39 +02:00
Matthew Messinger
981cd002b3 Slightly rewrite texture loading so it is better adaptable.
Also exposes metadata more
2018-08-24 21:55:45 -04:00
Sollace
8f7a226b4a Pon pont 2018-08-25 00:26:09 +02:00
Sollace
d20199fffb Added batpony models 2018-08-24 17:19:21 +02:00
Sollace
96e429930b Fixed folded wing rotation point to not detach it from the body whilst swinging 2018-08-24 17:18:07 +02:00
Sollace
7a6a6716de Fixed ear behaviour on armour 2018-08-24 13:54:24 +02:00
Sollace
dc05d1baad Reword the skin save dialog as an actual saving dialogue 2018-08-23 15:07:33 +02:00
Sollace
804a25c255 Add batpony race 2018-08-22 23:35:40 +02:00
Sollace
f5e0e355ae Removed the null checks. 2018-08-22 21:55:30 +02:00
Sollace
4aecea94cb Seaponies shouldn't have a sneaking animation 2018-08-22 21:55:16 +02:00
Sollace
153d32af3f Move saddlebags away from pure white and do ABSOLUTELY NOTHING ELSE 2018-08-22 21:54:54 +02:00
Sollace
bc04d43f3c Fixed NPE 2018-08-22 16:35:03 +02:00
Sollace
aa1a6e0002 NOW fix hooves busting shields whilst riding 2018-08-22 15:21:47 +02:00
Sollace
32b9182671 Fix blocking with shields in both hands 2018-08-22 15:15:48 +02:00
Sollace
531368e4ee Fixed rainboom parameter not checking if you're flying O.o 2018-08-22 14:49:29 +02:00
Sollace
d135d5601f Adjust riding position of all races 2018-08-22 14:32:02 +02:00
Sollace
5ce82e42ce Fixed item position whilst riding 2018-08-22 14:11:03 +02:00
Sollace
343d2656cf Fixed shield rendering in first person 2018-08-22 12:31:24 +02:00
Sollace
475d545887 Split up the GuiSkins by concern (There is now a skin chooser and an uploader, and the gui only has gui stuff) 2018-08-21 21:18:20 +02:00
Sollace
10f25a5b91 The 48, 8 2018-08-21 09:21:56 +02:00
Sollace
63d69d026a Make magic slightly brighter 2018-08-20 22:24:22 +02:00
Sollace
446a38b2fc Enable transparency on ponies' skins 2018-08-20 21:25:11 +02:00
Sollace
472e048d26 Remove this block of pointless transforms (fixes items held by foals are too tiny, and items held by foals are not in their hands) 2018-08-20 20:51:35 +02:00
Sollace
716d8e6f4b Fix alignment of the witch's hat 2018-08-20 20:51:35 +02:00
Sollace
f7052504e8 Rework the base pony scaling to be less awkward 2018-08-20 20:51:35 +02:00
Sollace
f4395e286a Sssecrets 2018-08-20 20:51:24 +02:00
Sollace
e26e21b160 Removed baby witches. Killjoy 2018-08-20 10:38:31 +02:00
Matthew Messinger
99eed8570d GuiSkins no longer has a concept of a gateway server.
Servers are now selectable by clicking the "?" button.
2018-08-19 17:55:38 -04:00
Matthew Messinger
cf132b8bcc Fix build errors. 2018-08-19 00:03:40 -04:00
Matthew Messinger
af398e6d85 Revert "Refactors for AvatarAPI Won't compile yet because AvatarAPI isn't on maven yet."
This reverts commit a24b6a1
2018-08-18 23:44:32 -04:00
Matthew Messinger
a24b6a108c Refactors for AvatarAPI
Won't compile yet because AvatarAPI isn't on maven yet.
2018-08-18 23:41:30 -04:00
Sollace
c95d540923 Remove debug code and add deadmous5 ears 2018-08-18 17:35:18 +02:00
Sollace
57902a7e62 Witches have a 1/300 chance of spawning as a foal. If you find one there is a 142% chance that it will be adorable 2018-08-18 16:17:21 +02:00
Sollace
50c7b373fc Fixed witch hats being in the wrong position when riding 2018-08-18 16:16:11 +02:00
Sollace
9c446122b8 Adjust neck placement on foals 2018-08-18 15:21:37 +02:00
Sollace
dafe85b358 Adjust neck and head placement on alicorns 2018-08-18 15:21:18 +02:00
Sollace
240345f29a Fixed armour leg placement when riding 2018-08-18 15:15:11 +02:00
Sollace
dca3cad2cd Fixed magic rendering of items that have permanent enchantment effects AND items with a dark tint 2018-08-18 14:15:05 +02:00
Sollace
ad18186382 Adjust positioning of held items 2018-08-18 13:33:29 +02:00
Sollace
8c15d46f68 Best of both worlds: Add the neck on both layers 2018-08-18 00:27:40 +02:00
Sollace
e18db6bb19 Normalize constant names 2018-08-18 00:24:58 +02:00
Sollace
d71aa20ced Remove unused constants 2018-08-17 23:23:50 +02:00
Sollace
6c50f40881 Admittedly his was a better way of doing it. Especially not that models are more hierarchical in nature 2018-08-17 23:18:54 +02:00
Sollace
be96ffd894 More interface 2018-08-17 23:13:58 +02:00
Sollace
2c9175b83a Turn PMAPI into an interface 2018-08-17 23:12:40 +02:00
Sollace
8527792dba No more reflection 2018-08-17 23:12:02 +02:00
Sollace
cea9419fb6 Some spring cleaning 2018-08-17 22:49:32 +02:00
Sollace
da26aef533 Fixed plane renderer not accounting for scaling on the z axes 2018-08-17 18:09:46 +02:00
Sollace
0ca03dbfa6 Pigmen should use the zombie model 2018-08-17 17:41:19 +02:00
Sollace
85622b335d Skeletons have a 1/3 chance of spawning without a horn 2018-08-17 16:37:22 +02:00
Sollace
f49d8bcadf Zombies have a 1/30 chance of spawning with wings 2018-08-17 16:36:55 +02:00
Sollace
1a80f768eb Move neck to the outer layer 2018-08-17 16:35:20 +02:00
Sollace
9d5d204535 Fix shadow scale on child mobs 2018-08-17 16:34:08 +02:00
Sollace
943019ba2e Fixed unicorn horns not rendering 2018-08-17 16:00:37 +02:00
Sollace
6a55833fb8 Derp. Actually have to do it like this. 2018-08-17 15:55:13 +02:00
Sollace
fabb66a5b2 Show necks as part of armour 2018-08-17 15:50:59 +02:00
Sollace
9ffb62d335 Reduce the probability of enderstallions having horns 2018-08-17 15:38:10 +02:00
Sollace
09f8a99066 Rotate player arms to put the front up 2018-08-17 15:33:19 +02:00
Sollace
d59ec9514f Properly detect old human textures 2018-08-17 15:09:20 +02:00
Sollace
ada764f946 Move the armour texture resolver to a class and interface 2018-08-17 15:08:37 +02:00
Sollace
2752bdcc4c Fix arm positioning (final) 2018-08-17 14:12:25 +02:00
Sollace
3f99784f4f rename flankguard -> chestpiece 2018-08-17 12:02:23 +02:00
Sollace
cf34174ac1 Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2018-08-17 08:48:42 +02:00
Matthew Messinger
ca94bfa860 Quick fix for weird first person fist. Fixes #90 2018-08-16 16:51:16 -04:00
Sollace
96c8034636 Bleep 2018-08-16 21:34:28 +02:00