Commit Graph
325 Commits
Author SHA1 Message Date
Bernhard Bonigl 6e287e5745 Update mod requirements to 1.9 2016-03-19 15:26:14 +01:00
Bernhard Bonigl 9fa56c7375 Code cleanup 2016-03-18 17:51:27 +01:00
Bernhard Bonigl ddea705e83 Update to MC 1.9 2016-03-18 17:47:53 +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
Bernhard Bonigl 3adbcf3033 Crash on exception during startup 2016-03-17 13:43:51 +01:00
Bernhard Bonigl d3e18d2a45 Change ItemMeta to use blockstates instead of separate item model files. Much more convenient >_> 2016-03-04 17:05:27 +01:00
Bernhard Bonigl 8461f768d7 Fix shift-clicking discarding the remainder when it could fill up another stack 2016-03-04 13:34:19 +01:00
Bernhard Bonigl d044409a5d Fix priority queue crash 2016-02-23 21:50:50 +01:00
Bernhard Bonigl 5cb45200ac Fix usage of Java8 only constructor 2016-02-23 12:29:34 +01:00
Bernhard Bonigl 925b27813b Have slider only return valid values and 0 if it's hidden 2016-02-19 15:46:21 +01:00
Bernhard Bonigl dba8800040 Change RecipeMatchRegistries to always consider higher amount recipes first. This ensures that all possible matches are found when calling matches() consecutively 2016-02-12 12:51:50 +01:00
Arthur Uzulin 4e98678f46 Book item lists
- Added block interaction page type
- Added smithing (anvil) page type
- Integrated the title
- Renamed textdata onClick to action
- Implemented item list JSON files instead of nesting item data
- Replaced the hardcoded ImageData transformer with a modular hotswap system
2016-02-10 11:09:09 +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
mezz e2e08b93d8 Move JEI items out of the way of GuiMultiModule modules 2016-01-29 00:32:20 -08: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
Bernhard Bonigl 6fe49ca460 Render main multimodel names before rendering modules so they can render stuff over it if needed 2016-01-22 15:10:06 +01:00
Bernhard Bonigl dbca52d9eb Expand recipematch constructors 2016-01-08 16:39:53 +01:00
Bernhard Bonigl 0fe940c90a Have flightpath rethrow errors because we WANT it to crash if something goes terribly wrong 2016-01-05 17:57:47 +01:00
Bernhard Bonigl 65c75c0bab Update pulsar for better logging 2016-01-05 17:52:59 +01:00
Bernhard Bonigl 8a29cbcbdd Check if the vertextransformer pipe actually passes the data in 2016-01-04 10:08:27 +01:00
Bernhard Bonigl 162ca75102 Update to Flightpath 0.0.3, fixes J8 dep 2016-01-02 19:20:23 +01:00
Bernhard Bonigl 4267584e00 Expand recipeMatch so it can be used for displaying purposes 2015-12-31 14:17:26 +01:00
Bernhard Bonigl 7a692130e7 More recipematch stuff 2015-12-30 22:15:32 +01:00
Progwml6 f66c66fc57 update to latest pulsar, add its dep flightpath 2015-12-29 17:19:49 -05:00
Bernhard Bonigl 728afebd1d Add static creation functions for recipematch 2015-12-29 22:37:02 +01:00
Bernhard Bonigl 0425504a37 Update mantle requirements 2015-12-24 15:29:59 +01:00
Bernhard Bonigl ac6e3ef7bd Change abstract packet to have one handler that handles all abstract packages and calls their methods.
No changes on the implementation side of them.
2015-12-23 19:02:40 +01:00
Bernhard Bonigl ac6e5d2861 Add generics information from forge where possible 2015-12-22 23:44:35 +01:00
Bernhard Bonigl 05c7b3f85f Update ForgeCFG to be usable for ingame GUIs 2015-12-22 22:09:05 +01:00
Bernhard Bonigl d2d4c368ce Ensure inventories are present for containers 2015-12-21 18:16:43 +01:00
Bernhard Bonigl 38caa161be Convenience getTile for basecontainer 2015-12-21 17:06:58 +01:00
Bernhard Bonigl ed8c5b9656 Forward onSlotChanged from slotwrapper 2015-12-21 17:06:49 +01:00
Bernhard Bonigl f2bc0a38b1 Convenience functions for slider and draw disabled button if disabled but shown 2015-12-21 17:06:34 +01:00
Bernhard Bonigl c71c1dc1f2 Change ItemMetaDynamic to support a wider meta range 2015-12-19 15:24:39 +01:00
Bernhard Bonigl d7dff0e26c Don't access TESR models in TRSRBakedModel 2015-12-19 08:03:50 +01:00
Bernhard Bonigl 13da0c4be1 Update to forge model changes 2015-12-17 19:02:13 +01:00
Bernhard Bonigl c6963535fd Update mappings 2015-12-05 19:23:43 +01:00
Bernhard Bonigl 2889c24f65 Add unlisted direction property 2015-11-24 21:17:08 +01:00
Bernhard Bonigl 08f1501810 Update to 1.8.8 and disable NEI integration (for now) 2015-11-24 20:28:32 +01:00
Zach 628a4c1c90 fix variable name for mc versions 2015-11-21 13:45:18 -05:00
Zach 766c2cd92d Update Mantle.java 2015-11-21 13:43:04 -05:00
Bernhard Bonigl 94bf46a187 Add a parameter for mousewheel scrolling and helper functions for slider 2015-11-18 18:42:35 +01:00
Bernhard Bonigl 97931ac9f0 Support for arbitrarily texture-sizes for scaled elements 2015-11-18 18:42:18 +01:00