Commit Graph
26 Commits
Author SHA1 Message Date
KnightMiner f1037ce21a Add package info and fix nullability
Everything defaults to nonnull now, and is labeled where null is likely
2020-07-22 20:43:55 -05:00
alexbegt 3f8e34648e Update Mantle to 1.15.1! 2020-01-11 17:49:46 -05:00
Arthur Uzulin 4e7741f2a1 Removed book swaps in favor of interface 2019-09-30 03:38:14 +10:00
alexbegt 5ef2555b69 Fix all remaining errors in mantle's code, rename a few classes to match the new naming scheme. Sorry KnightMiner <3 2019-06-25 13:32:57 -04:00
alexbegt 5a1b21ea1c Fix more errors in mantle for 1.14 but a lot of changes need to be discussed due to the major changes in Minecraft. 2019-06-22 17:17:08 -04:00
alexbegt c14d405a75 Merge remote-tracking branch 'origin/1.12' into 1.13 2019-05-20 12:18:22 -04:00
KnightMiner d9291f5171 Add support for a page to be module dependent if using a moduleFileRepository
Will be used in Tinkers Complement as its added modifiers are dependent on certain mods/modules being loaded
2019-05-18 00:18:44 -05:00
alexbegt de4423f18b More work on updating Mantle to 1.13.2.
Pulsar now functions!
2019-04-24 22:39:28 -04: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 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 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
alexbegt e7f02fe28e Update Mantle to 1.12, Some things might not work/need to be tested! 2017-06-28 16:37:18 -04:00
Aaron Haun fb9edf9186 Assorted renames and reworks for 1.9.4 mappings
Also a change to MultiServantLogic for new TE update tag as per mojang
  changes
2016-05-25 15:00:53 -04:00
Bernhard Bonigl e829facad6 Translation utility 2016-04-27 11:56:22 +02:00
Arthur Uzulin ebd2ad2675 Stopped ignoring exceptions
Closing #56
2016-04-10 13:22:45 +10:00
Bernhard Bonigl 752c2b3cb7 Update books to 1.9 2016-03-25 12:35:20 +01:00
Arthur Uzulin 341ef7e41d Table of Contents
- Not ready for prime implementation of 3D structures
- Added table of contents to beginning of each section
- Extended load method to PageContent
- A less hard-coded imagedata loading implementation (DataLocation)
- Repositories handle their own files
- Removed title from SectionData, replaced with translation strings
- BookTransformers now invoked after loading pages
- Fixed TextDataRenderer incorrectly calculating condition for ellipsis
2016-03-18 21:48:16 +11:00
Arthur Uzulin 3861ce5f01 Locked book section hiding
- Added ability to optionally hide locked sections
- Added colorization options for locked section icons
- Added time report to log
- Fixed getPageNumber not skipping locked sections
2016-02-08 01:11:45 +11:00
Arthur Uzulin b8e0dde333 Book section gating
- Added section unlock criteria
- Added type adapter for Hex/Binary int String -> int
2016-02-07 18:26:04 +11:00
Arthur Uzulin 1ac2d95644 Book crafting pages
- Added crafting and smelting page types to the book
- Improved error handling
- Line breaks in ResourceHelper.getStringFromResource output
- 2 layers for pages instead of one
- ElementItem now does item cycling
2016-02-07 05:19:13 +11:00
Arthur Uzulin 413b43dfd1 ItemStack loader
- Load ItemStacks from JSON
  - items.json specifies all the global item click events
2016-02-06 03:56:07 +11:00
Arthur Uzulin 59e9e52a2a Book repository system
- Books may now have several 'repositories' which they load sections from
- Page numbers dynamically calculated
2016-02-03 14:52:01 +11:00
Arthur Uzulin 4b5c849893 Updated book code
- Added book transformers
- Added an index page
- Fixed mouse position on right pages
- Books now save position on close
2016-01-30 02:26:16 +11:00
Arthur Uzulin d0bd1aac90 Update book code
- Add click events to text data
- Rename CoverData to AppearanceData (and cover.json to appearance.json)
- Add ability to recolor arrows
- Added page numbers
- Enforce lower case for section/page names
- Added scale to text data
- Added paragraph to text data
- Added optional back arrow
- Rename page title to name
- 0, 0 is now actually on the page of the book
- The book elements are now all half the size
- Bumped the last page forward for odd-paged books, even if the last page is blank.
2016-01-29 03:15:16 +11:00
Arthur Uzulin 779dfd06cd Remove author tags, add @SideOnlyies, reformat code for books 2016-01-26 21:44:44 +11:00
Arthur Uzulin a7699788ac Add books WIP 2016-01-26 21:35:28 +11:00