Commit Graph
21 Commits
Author SHA1 Message Date
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
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
alexbegt 1ccbee7720 Begin Mantle's update to 1.11. Not everything is 100% completed. 2016-11-19 14:23:46 -05:00
Kirill 449171d89d Need to be forced UTF-8 charset
For russian and other languages
2016-08-17 22:59:45 +03: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
Bernhard Bonigl e3abffafea Allow for a custom fontrenderer for a book in general and propagate it to draw calls instead of having 3 places where the fontrenderer is declared 2016-04-10 18:28:38 +02:00
Arthur Uzulin ebd2ad2675 Stopped ignoring exceptions
Closing #56
2016-04-10 13:22:45 +10: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