Commit Graph
663 Commits
Author SHA1 Message Date
Arthur (fuj1n) Uzulin 1bfb522b99 Prevent DropLecternBookPacket from running if relevant chunk is not loaded 2021-06-27 05:09:59 +10:00
Arthur (fuj1n) Uzulin 420b97c7aa Updated the JavaDoc for DropLecternBookPacket 2021-06-27 04:07:47 +10:00
Arthur (fuj1n) Uzulin 02b914660f Add ability to pick book up from the lectern 2021-06-27 03:59:39 +10:00
KnightMiner 03e6a48901 Add support for books in lecterns
Main thing that was missing before was the ability to update the page based on the page in the lectern, but now Mantle also has a class handling a book that is placable on a lectern
2021-06-12 16:11:14 -04:00
KnightMiner c9a4f16a4f Fix some command localizations 2021-06-10 19:48:46 -04:00
KnightMiner 6778156cc0 Add some extra ingredients and objects for datagen
CompoundIngredient and NBTIngredient are simply forge ingredients with public constructors
ItemNameIngredient and NBTNameIngredient allow referencing items from other mods for inputs, for compat recipes
ItemNameOutput works with ItemOutput for referencing items from another mod in output
2021-06-04 17:59:01 -04:00
KnightMiner 699d50bfe3 Skip writting conditions if empty for the consumer wrapper 2021-06-04 17:56:36 -04:00
KnightMiner 8895b58453 Add option to make a consumer wrapper with just a resource location of a serializer
So you can add a ceramics kiln recipe from TConstruct for instance
2021-06-04 15:28:37 -04:00
KnightMiner 785bcbf544 Add some null safety to model getters for datagen
Probably need to rework that section of datagen anyways
2021-05-21 16:59:09 -04:00
KnightMiner e77198e67b Add new fluid texture model
Allows resource packs to control fluid textures, provide the fluid uses TexturedFluidAttributes
2021-05-21 01:08:01 -04:00
KnightMiner 6f3db08cdb Add command to dump all global loot modifiers
Useful if you want to disable one
2021-05-19 20:51:28 -04:00
KnightMiner 70613e070f Suggest values for tag based commands 2021-05-14 15:45:24 -04:00
KnightMiner 8e6e608266 Make the output for dump all tags clickable 2021-05-12 21:11:54 -04:00
KnightMiner 767d586ffb Fix wrong argument name for enchantments 2021-05-12 20:59:33 -04:00
KnightMiner dd18ce87ff Added command to dump all tags to a folder 2021-05-12 20:49:23 -04:00
KnightMiner cede30d3fa Add three tag commands to mantle
Command to list all tags for an entry
Command to list all values in a tag
Command to merge all JSON from datapacks into a single JSON
2021-05-12 19:46:34 -04:00
KnightMiner 4065e07114 Fix forge data leak because forge does not copy when writing
Happened on a dedicated server.
Also discovered forge adds the data in writeInternal, so the update tag had it already, replaces the texture block one
Texture blocks now respond to changes in the NBT properly
2021-05-08 18:11:39 -04:00
KnightMiner c0ca7ebcbf Make retextured tile entities support update packets as well 2021-05-08 17:10:26 -04:00
KnightMiner 422b3a59f7 Add logic to handle getUpdatePacket automatically
Needed when block NBT is changed via commands or when vanilla places blocks in the offhand
2021-05-08 16:46:43 -04:00
alexbegt 95ff3afd51 Fix text component rendering in multiple ways: The text will no longer render with a shadow unless it should and the text will wrap correctly when too long. 2021-04-10 22:33:29 -04:00
alexbegt 90b6b5740f Rework the structure rendering for books to use vanilla templates files (.NBT) in order to improve functionality/fix the broken rendering caused by the old system. 2021-04-10 19:43:43 -04:00
KnightMiner 5d69486ee5 Stupid generics 2021-04-08 22:19:45 -04:00
alexbegt 00bce1ba91 Add back bookmark button as that was not meant to be deleted 2021-04-08 22:15:55 -04:00
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
KnightMiner be295f31a8 Add back deprecated functions and just redirect to Forge
Will remove when we have a proper breaking changes build.
also remove private variables from that
2021-04-08 20:26:14 -04:00
KnightMiner fe3271dcf1 Fix tag list improperly defined in config (#152)
Also added Create to our ore preferences list
2021-04-08 20:16:16 -04:00
alexbegt 9fe42e7642 Remove our deprecated drawHoveringText and switch to Forge's and increase the number of ticks that an item is shown in the book as currently it is way too fast. 2021-04-07 23:44:07 -04:00
alexbegt add938780f Add support for non default colors to the text rendering for the book. 2021-04-07 18:54:49 -04:00
KnightMiner 484acd8d25 Hide flowing fluids in the fluid ingredient display 2021-04-04 16:49:08 -04:00
KnightMiner bc3cc7bfac Add some tagging logic into the fluid objects 2021-04-04 16:24:11 -04:00
KnightMiner bc8b86168a Add global loot modifers addentry and replace item 2021-04-04 15:26:06 -04:00
KnightMiner 02af84f70f Move IngredientWithout and IngredientIntersection from TConsturct 2021-04-04 15:12:40 -04:00
KnightMiner 3c35ecd859 Make item register in block deferred public 2021-01-24 01:57:05 -05:00
KnightMiner e23a6c3fb3 Add methods for building blocks to replace the main block class 2021-01-23 17:01:27 -05:00
KnightMiner 49d71464a2 Add single item handler, a class for a inventory with exactly 1 slot 2021-01-23 16:53:43 -05:00
KnightMiner 037e98c851 Port tag preference system from TiC 2021-01-23 16:53:17 -05:00
KnightMiner de08cc8808 Port entity ingredient from TiC 2021-01-23 16:50:51 -05:00
KnightMiner b7abf2066a Fix removal of a field (SlimeKnights/TinkersMechworks#109) 2021-01-23 12:54:20 -05:00
KnightMiner 447d3aa3a9 Add config helpers from Inspirations and a Mantle client config
Closes #133
2021-01-16 13:59:55 -05:00
KnightMiner f6bfe6a098 Fix extra heart render handler not firing post (#146)
Also some general cleanup to the code, mainly adding comments
2021-01-16 13:34:26 -05:00
KnightMiner 295550c868 Update to 1.16.5
Mostly gradle cleanups to make marking updates easier, I think our version ranges already supported 1.16.5
2021-01-16 13:08:06 -05:00
KnightMiner 54fe5ba23c Deprecate multiblock stuff
Currently just Tinkers is using this, and Tinkers rewrote the whole system for 1.16. If another mod is using this let me know and I can pull the updated stuff into Mantle
2021-01-16 13:07:32 -05:00
KnightMiner dfcf3b4146 Make InventoryBlock more general
Uses item capabilities for item dropping and a new interface for renaming
2021-01-16 12:59:20 -05:00
David Burnett 61d251d45a Nullable advancement ID 2021-01-16 00:09:06 -05:00
David Burnett d5c99d6293 Add abstract finished recipe 2021-01-16 00:05:11 -05:00
David Burnett bfb76d20c4 Add option to abstract recipe builder for optional advancements 2021-01-15 23:49:04 -05:00
David Burnett 783c3b03ec Add background container screen and item handler slot 2021-01-15 18:51:49 -05:00
David Burnett ef72764ca0 Fix edge case of UV exactly 1 being set to 0 2021-01-14 20:25:56 -05:00
David Burnett e3df197a97 Mod UV in the fluid renderer 2021-01-14 20:05:07 -05:00
David Burnett aba8ecdc96 Allow scaling a scalable element up 2021-01-14 13:22:09 -05:00