Commit Graph
576 Commits
Author SHA1 Message Date
Sam McCreery 2a0b45038b Fix health bar to work with Forge left_height (#115)
Previous the value was hard-coded, causing problems with mods which render bars
before the health bar (closes #114)
1.3.3.42
2019-02-09 17:54:41 +01:00
KnightMiner 69a1c80546 Use the given state from getActualState instead of fetching it from the world again (SlimeKnights/TinkersConstruct#3497) 2019-01-03 00:02:34 -06:00
Bernhard Bonigl a4a1e6937b Bump version to 1.3.3 1.3.3.39 2018-10-21 19:06:08 +02:00
Bernhard Bonigl 84a277f18e Fix crash when render view is not on player #111 2018-10-21 18:32:03 +02:00
Arthur Uzulin 242ffd9f5e [Books] Added checks for language manager presence in light of most recent issues 2018-08-17 03:26:26 +10:00
Arthur Uzulin 7bcd1043ba [Books] Made the book errors more verbose
- Added short stack trace to error page
- Added stack trace print where it was missing
- Made text data renderer check for null text data
2018-08-17 02:29:51 +10:00
Arthur Uzulin 35e592fc1c [Books] Reverted add/renaming tooltip layer to preserve backwards compatibility 2018-07-28 21:01:14 +10:00
Arthur Uzulin 05e219ac85 [Books] Sections with identical names now merge together
- Fixes #55
- Section requirements are now stored in a set to prevent duplicates
2018-07-28 10:37:38 +10:00
Arthur Uzulin 05afdba6df Merge branch 'master' into 1.12 2018-07-25 05:04:26 +10:00
Arthur Uzulin ceec486257 Removed old book test resources 2018-07-24 09:16:04 +10:00
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
Arthur Uzulin 13695e8464 [Books] Updated book advancement system
- Books now list requirements by id because the client no longer
  knows about advancements until prerequisites unlocked
- Advancement id -> advancement is now cached so we no longer search every frame
2018-07-18 08:37:58 +10:00
Arthur Uzulin 849da5c034 [Books] Added separate render layer for tooltips
- Added drawText method that takes a list of for tooltip for separate rendering
- Deprecated TextDataRenderer's old drawText in favour of the new one
- Made TextDataRenderer's drawTooltip method public and renamed from drawHoveringText
- Updated ElementText to follow new norms

This fixes Tinkers book's tooltip compositing issues
2018-07-18 06:08:02 +10:00
KnightMiner 385ef0153e Fix NPE on ItemEdible tooltip if the item is undefined 2018-07-10 20:09:03 -05:00
Nirudium bb73d2ceb5 Update README.md (#104) 2018-04-11 08:52:43 +02: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