Commit Graph
110 Commits
Author SHA1 Message Date
Bernhard Bonigl 6a0429ec54 Textdata containing only \n will cause a linebreak 2016-04-25 15:25:49 +02:00
Bernhard Bonigl 5e537bd3ee Add a parameter that indicates whether the page is a left or right side 2016-04-25 13:03:12 +02:00
Bernhard Bonigl ffd38cf8e8 Fix textdata renderer trimming text without linebreaks too 2016-04-25 12:52:07 +02:00
Bernhard Bonigl 6ea7e05112 Safety check for completely broken models. 2016-04-22 11:04:12 +02:00
Bernhard Bonigl 3114329051 Change TileInventory inventory saving so it can handle special saving/loading 2016-04-19 19:05:21 +02:00
Bernhard Bonigl 3e49e5f4cb Fix import 2016-04-18 21:34:21 +02:00
Bernhard Bonigl f31538b2ab Update mappings and forge 2016-04-18 15:00:00 +02:00
Bernhard Bonigl c9d86495c3 Recipematch utility constructors for item/block+meta 2016-04-17 12:04:42 +02:00
Bernhard Bonigl 70e35d8daf Fix Baked Composite model not caching the quads. Now it can be used as a proper model cache #59 2016-04-15 20:33:11 +02:00
Bernhard Bonigl 33c906a470 Add remaining transforms to default tool transforms 2016-04-14 17:22:00 +02:00
Bernhard Bonigl 21c02b66d6 Add itemhandler capabilities to TileInventory 2016-04-14 17:21:48 +02:00
Bernhard Bonigl f7e7792094 Update mappings to match tcon again 2016-04-13 20:43:27 +02:00
Bernhard Bonigl 666187612a Convert elements with fixed size to SizedBookElements, add a hover-util-method to it. Allow custom tooltips for item elements 2016-04-11 19:14:58 +02:00
Bernhard Bonigl 96fc4ec5fd Have recipematch with itemcombinations return all items as input 2016-04-11 19:13:40 +02:00
Arthur Uzulin 0d754749ec Added book functionality
- Added translation strings to TextData using $( and )$ [$$( and )$$ to escape]
- Added the ability to use items for ImageData (TODO scale)
- Added the ability to use the block atlas as the file for ImageData using $BLOCK_ATLAS (doubtful of possible uses)
2016-04-11 22:23:34 +10:00
Bernhard Bonigl 91be353746 Better usability for the elements 2016-04-10 18:28:38 +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
Bernhard Bonigl 34e251b49b Use ElementText fontrenderer for rendering and add support fro dropshadows 2016-04-10 18:28:37 +02:00
Bernhard Bonigl ccc2131c15 Update version to 0.9.4 2016-04-10 18:28:37 +02:00
Arthur Uzulin 13e1a8f981 Reformat book code 2016-04-10 13:23:59 +10:00
Arthur Uzulin ebd2ad2675 Stopped ignoring exceptions
Closing #56
2016-04-10 13:22:45 +10:00
Alexander c1607eed47 Fix issues with latest forge. Closes #52 2016-04-02 15:54:22 -04:00
Bernhard Bonigl 84a2615f4a Fix packet processing 2016-03-30 23:03:31 +02:00
Bernhard Bonigl 3d982387f3 Update forge, fix container not giving the localized name for rendering 2016-03-29 19:12:59 +02:00
Bernhard Bonigl 752c2b3cb7 Update books to 1.9 2016-03-25 12:35:20 +01:00
Bernhard Bonigl 3f5459c134 Merge branch '1.8_books' into 1.9 2016-03-25 11:22:23 +01:00
Bernhard Bonigl 4c09f357e7 Update forge and mappings 2016-03-24 20:24:37 +01:00
Bernhard Bonigl 43451e844e Fix multiservant updates on world star 2016-03-22 19:31:50 +01:00
Bernhard Bonigl c859f001b1 Fix position data with only 3 entries crashing TRSRBakedModels 2016-03-22 12:12:37 +01:00
Bernhard Bonigl 51e8065fdc More model utils 2016-03-21 15:42:21 +01:00
Bernhard Bonigl 1f0abcdcd7 ImmutableConcatList: A list implementation that iterates over multiple lists, treating them as one without copying any elements 2016-03-21 11:36:35 +01:00
Bernhard Bonigl 2ee481e9b4 Fix BlockItemModelWrapper, add a TRSRModel variant that takes facing into account for culling 2016-03-20 14:38:13 +01:00
Bernhard Bonigl 60dd10bf5e Update Pulsar to 1.2.1, making deps work properly 2016-03-20 09:53:51 +01:00
Bernhard Bonigl 637b83093a Fix slotClick mappings 2016-03-19 19:27:55 +01:00
Bernhard Bonigl ee03b42d71 ModelHelper expansion. Add a transformer to color quads. 2016-03-19 19:27:38 +01:00
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