Commit Graph
13 Commits
Author SHA1 Message Date
alexbegt b8003245f3 Format the book code to be more like tinkers construct and add support for text components to be rendered in the book. 2021-04-08 22:13:55 -04:00
Arthur (fuj1n) Uzulin 8eb2932f86 Fix book exceptions introduced in f1037ce and refined book nullability 2020-07-25 18:27:21 +10:00
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 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
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
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 1bd2c73a09 More book convenience 2016-05-17 20:49:07 +02:00
Bernhard Bonigl efb34bd983 Make book transformers available publicly. This is needed so that the index transformer can be applied after custom transformers 2016-04-27 10:03:08 +02:00
Arthur Uzulin 13e1a8f981 Reformat book code 2016-04-10 13:23:59 +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 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