Commit Graph
563 Commits
Author SHA1 Message Date
KnightMiner dc0fea44df Improve exceptions thrown on module lifecycle events (#105)
Make exceptions thrown by events in modules look nicer by removing the awkward InvocationTargetException wrapper. InvocationTargetException is a wrapper used when a method invoked by reflection itself throws an exception. This lets the log be a bit nicer as we don't have a useless part of the stacktrace just telling us an exception was thrown

Also rethrow runtime exceptions as is so we don't add the exception handler to the stack trace unnecessarily
2018-07-20 19:48:31 -05:00
KnightMiner 385ef0153e Fix NPE on ItemEdible tooltip if the item is undefined 2018-07-10 20:09:03 -05:00
Bernhard Bonigl 0d193ec907 Merge branch '1.12' of github.com:SlimeKnights/Mantle into 1.12 2018-04-10 19:28:42 +02:00
Bernhard Bonigl 651cf5b71d Merge remote-tracking branch 'origin/master' into 1.12 2018-04-10 19:28:18 +02:00
boni 3d4fdaafbe Bump version to 1.3.2 2018-04-10 19:15:33 +02:00
Bernhard Bonigl f1fabbdb8d Fix book crashing when trying to display missing items #99 2018-04-10 19:13:56 +02:00
Bernhard Bonigl 29a1c7ed50 Have heart rendering loop correctly if it surpasses 12 rows of hearts #102 2018-04-10 19:09:58 +02:00
Bernhard Bonigl c43107d895 Remove last clientside only from getSubBlocks #103 2018-04-10 18:52:32 +02:00
alexbegt b6a65ad81c Remove @SideOnly(Side.CLIENT) from getSubBlocks as it is no longer only a client side method. (#103) https://github.com/MinecraftForge/MinecraftForge/commit/368d206cc6b85d16270dffa723f9f0d0b2e96e06 2018-04-09 20:57:38 -04:00
Bogdan 16c1a39363 Fixed README.md formatting (?) (#84)
I'm not sure why between `#` and text are no spaces. In Markdown titles are created by '#' and space after it
1.3.2.24
2017-10-01 08:21:21 +02:00
Bernhard Bonigl f5449fe0f2 Update Configurate 2017-09-01 17:51:27 +02:00
Yannick Schinko 5722bab4b4 jar tasks gets finalized by reobfJar task
- Fixes #94
2017-08-25 15:46:22 -04:00
Bernhard Bonigl 75b9d4b0a7 Version bump 1.3.1 2017-07-29 11:46:33 +02:00
Bernhard Bonigl 521328f1a2 Change books to be lazily loaded. This also kills all of our loading dependency problems. 2017-07-29 11:46:14 +02:00
KnightMiner e7fab75e2c Added two helper classes for trading with villagers (#75)
Vanilla only implements this for items instead of stacks. Methods provided allow adding a trade using two inputs for an output and a random input for a random output. Any of those can be empty to default to emeralds
2017-07-19 20:21:58 -05:00
alexbegt ae39da0d26 Fix mantle not calling init() from the proxy, which is used to reload the books 2017-07-17 14:34:36 -04:00
alexbegt e648d8aa7f Remove unneeded imports inside Mantle.java and bump the required forge version to the current recommended build. 2017-07-16 15:24:53 -04:00
Bernhard Bonigl f32f1a0cd3 Change up book loading order to load books after they're registered in preInit 2017-07-16 16:12:32 +02:00
alexbegt eca36c5f7e Fix loading ITooltipFlag on server side. 2017-07-13 02:09:14 -04:00
alexbegt 90b2909990 Fix tooltips not being rendered anymore inside guis. 2017-07-07 20:01:35 -04:00
alexbegt cdf65b1bd1 Fix use of tab instead of spaces. 2017-07-04 10:51:31 -04:00
alexbegt 778c539065 Bump Forge + Mod version, and clean up any Item using addInformation to incude @Nullable for the World input. 2017-07-03 20:53:39 -04:00
alexbegt 9b9391e671 Fix GUI's not having a background as drawDefaultBackground isn't called by drawScreen anymore. 2017-07-03 13:07:39 -04:00
alexbegt 139290ca04 Allow Pulse Modules to use the new registration events added with the registry rewrite. 2017-06-29 00:11:10 -04:00
alexbegt 97a15397c9 Fix "acceptedMinecraftVersions" not accepting 1.12, and bump the required forge version. 2017-06-28 17:04:05 -04:00
alexbegt e7f02fe28e Update Mantle to 1.12, Some things might not work/need to be tested! 2017-06-28 16:37:18 -04:00
Bernhard Bonigl b4a223b6ae Inventory support for itemstacklist 2017-04-30 10:46:39 +02:00
Bernhard Bonigl eaee115cc5 Validation annotations to make itemstack shenanigans more obvious 2017-04-29 18:05:43 +02:00
Bernhard Bonigl ffc8db9286 More itemstacklist utility 2017-04-29 17:38:52 +02:00
Bernhard Bonigl 30c49e9f7b More 1.11 fixes/adjustments 2017-04-29 17:24:46 +02:00
Bernhard Bonigl fa18dee070 Fix itemstacklist derp 2017-04-22 15:04:01 +02:00
Bernhard Bonigl b153a00bbf Fix tile inventory 2017-04-22 14:29:17 +02:00
Bernhard Bonigl 5a997ae395 Fix connected block textures 2017-04-21 18:34:34 +02:00
Bernhard Bonigl 9cf18e12f9 Finish optional update 2017-04-21 17:15:07 +02:00
Bernhard Bonigl 7ae8864590 Bring itemstacklist.withSize in line with vanilla implementation 2017-04-21 16:46:51 +02:00
Bernhard Bonigl a45607f7fc Itemstacklist util 2017-04-21 16:43:05 +02:00
Bernhard Bonigl 58ce663047 Update RecipeMatch API to return an Optional 2017-04-21 16:26:11 +02:00
Bernhard Bonigl b86dbdd37c Reinstate recipematchregistry api 2017-04-17 16:32:34 +02:00
alexbegt 2c966ad656 Clean up some checks to use isEmpty(), which is the same as checking the count is equal to 0. 2017-04-02 16:17:22 -04:00
alexbegt 330300e191 Whoops undo this change! 2017-03-06 21:00:50 -05:00
alexbegt e4917779f9 Update Mantle to 1.11.2 + update 1.11 code to match master (1.10.2). 2017-03-06 21:00:05 -05:00
Bernhard Bonigl a1d5c31ca4 Bump version to 1.1.5 1.1.5 2017-02-11 15:06:23 +01:00
Bernhard Bonigl 46cfb2f2d9 Don't stop deserialization of block-metas if an invalid entry is encountered 2017-02-11 14:53:02 +01:00
boni f339335f10 Update version to 1.1.4 1.1.4 2017-01-09 20:29:33 +01:00
Bernhard Bonigl f77a8cdd6d Return a list properly corresponding to the inputs required for oredict Recipematches
Also fix it returning its internal representation
2017-01-09 15:22:35 +01:00
Bernhard Bonigl 242c9105f8 Add a base TE for future use and utility functions for TEs 2017-01-09 15:21:59 +01:00
Jasmine Iwanek be27dc7bac Update for latest forge for 1.10.2 and stable mappings (#79) 2016-12-31 13:44:12 +01:00
Bernhard Bonigl 417bdc99c7 Update version to 1.1.3 1.1.3 2016-12-04 19:48:46 +01:00
Bernhard Bonigl 94cbdffb02 Fix clicking on things that change the page also processing the new page for clicks, resulting in double-forwards with one click 2016-12-04 14:50:01 +01:00
Bernhard Bonigl 72ebc15a1e Merge branch 'master' of github.com:SlimeKnights/Mantle 2016-11-27 12:49:01 +01:00