Commit graph

52 commits

Author SHA1 Message Date
Sollace
7d2767d9f8 Simplify bg pony skin loading (removes the need for a bgponies.json) 2020-06-19 10:23:28 +02:00
Sollace
d3c6119c3c Moved some utilities to Kirin 2020-06-19 10:23:24 +02:00
Sollace
655923a650 Split the background pony code into enother class and clean up PonyManager 2020-06-19 10:23:23 +02:00
Sollace
01188a9ea6 Move this stuff into an api package 2020-06-19 10:23:23 +02:00
Sollace
8692c124c0 20w10a -> 20w13b 2020-06-19 10:22:40 +02:00
Sollace
4229193817 1.15.2 -> 20w10a 2020-06-19 10:20:45 +02:00
Sollace
2eb19e5451 Snouts were fixed to no longer bust through the hat layer a long while ago. We don't even need this any more. 2020-03-13 17:16:08 +02:00
Sollace
28f78f974b 1.15.1 -> 1.15.2 2020-01-28 16:24:04 +02:00
Sollace
b71e95b8de Slightly refactor pony sitting 2019-12-12 23:57:37 +02:00
Sollace
c690f706f8 Update to 1.15-pre6 2019-12-07 12:10:39 +02:00
Sollace
c02a46aa7d Fixed crash due to null interpolator id, and fixed crash when entities other than the player hold an item 2019-11-30 18:49:04 +02:00
Sollace
5cadc01dd8 More package changes and fixed villager's clothing 2019-11-30 14:56:07 +02:00
Sollace
7b8a8fa3c4 De-mcp-ify a lot of class names 2019-11-30 13:18:32 +02:00
Sollace
d4fa867884 Slight refactor 2019-11-29 17:28:29 +02:00
Sollace
be14188f87 Updating to 1.15-pre1 part 1 2019-11-23 19:28:42 +02:00
Sollace
5e4d27181e Horrible hack to fix unrecognised image formats (aaaaaaaaaaahhhh) 2019-10-04 18:34:55 +02:00
Sollace
c33e0f0a46 World has a isAir method already 2019-08-12 16:56:31 +02:00
Sollace
b3b165f803 Separate the horn and magic checks 2019-07-24 23:37:22 +02:00
Sollace
73db95a777 Add a fix for floating pegasi. 2019-07-22 20:07:11 +02:00
Sollace
0056d078c9 Close the resource 2019-07-16 14:36:15 +02:00
Sollace
0dab332a0e Move everything related to PonyData parsing into the PonyData class 2019-07-16 14:20:18 +02:00
Sollace
b1f7cda8cc Fixed various bugs with sneaking placement 2019-07-15 09:37:43 +02:00
Matthew Messinger
b3d849fdc9 Throw exceptions in Pony.getBufferedImage().
If an exception is thrown, don't save the Pony.
2019-07-13 20:11:14 -04:00
Sollace
3355a7cb8a Check empty image dimensions, and actually attempt to use the correct format 2019-07-14 01:56:08 +02:00
Sollace
1c33cc7461 This is why I shouldn't be up at 1AM writing code... 2019-07-14 01:34:14 +02:00
Sollace
857e06198a Return null for invalid resources rather than the missing texture (avoids de-allocating the missing texture's image) 2019-07-14 01:29:11 +02:00
Sollace
310e713d71 Remove the cache again 2019-07-14 01:23:14 +02:00
Matthew Messinger
e3a496be16 Make less calls to Pony.getBufferedImage() and actually close it. 2019-07-13 19:13:46 -04:00
Sollace
1911a6dde8 This is never going to be null. We have to check for the missing sprite instead. -_- 2019-07-14 01:10:42 +02:00
Sollace
9d481d90a0 Also catch the original exception 2019-07-14 01:07:16 +02:00
Sollace
752fd06389 This isn't so much a memory leak as an open faucet. 2019-07-14 00:51:53 +02:00
Sollace
4d81b3b449 Update Kirin 2019-07-11 19:20:13 +02:00
Matthew Messinger
f61090d9c9 Add a proper callback for clearing the skin cache 2019-07-10 21:32:36 -04:00
Matthew Messinger
9c344c1554 Use MineLittlePony as entrypoint and move it to client package
If a server side mod needs to use it, a proper API class should be made.
2019-07-07 22:47:13 -04:00
Matthew Messinger
d8e1e08df4 General code cleanup.
Generic types
Unnecessary casts
Unused imports
2019-07-07 17:21:28 -04:00
Sollace
75f60a0185 Can't call this from a background thread, only the main one. 2019-07-06 21:59:19 +02:00
Matthew Messinger
f8a0bc308c Improve pony resolution 2019-07-03 22:06:00 -04:00
Matthew Messinger
5791a021ef Fix GL loading
Works for resources and other player skins, broken for own skin
2019-07-03 16:27:43 -04:00
Matthew Messinger
0bcd2c1968 Move most hdskins related classes to new sourceset 2019-07-03 16:12:44 -04:00
Matthew Messinger
50686dd1b4 Pony: Fetch skin texture directly from the GL matrix 2019-07-03 15:37:47 -04:00
Sollace
3f1744d98a Fixed eye position not being updated when joining a world, or when skins load 2019-07-03 15:58:40 +02:00
Sollace
9641bbfe5c Register the pony manager at the correct time 2019-07-03 14:16:03 +02:00
Sollace
e960aad9d5 Move all HDSkins references to one place 2019-06-30 12:05:38 +02:00
Sollace
2950a4de0a Update to 1.14.3 2019-06-27 19:28:21 +02:00
Sollace
833f11b4e9 Fixed head position and animation whilst swimming/crawling 2019-06-27 10:27:34 +02:00
Matthew Messinger
41580d058b Remove Chronic in favor for guava caches 2019-06-24 20:34:55 -04:00
Sollace
00fec6900a Fixed resource reloading 2019-06-11 15:15:44 +02:00
Sollace
11391b6ed3 Fixed bugs with the debug bounding box 2019-06-11 14:10:36 +02:00
Sollace
f3f980d6c3 Added fillycam 2019-06-05 14:54:38 +02:00
Sollace
1734505ac4 I now know what these parameters are! 2019-06-01 20:37:02 +02:00