Commit Graph
798 Commits
Author SHA1 Message Date
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 e4f532087f Fix build.gradle for new forge maven 2021-05-12 19:44:38 -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. 1.6.92 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 1.6.88 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
David Burnett 9d88ccb624 Revert "Remove module offset"
Apparently 1.12 had that too, so being inconsistent with everything else is just accepted. I should just rewrite this whole thing if I did not hate UIs so much
2021-01-10 23:17:00 -05:00
David Burnett 83bf1a136d Remove module offset
Was inconsistent with the mouse position, draw background, and slot locations
2021-01-10 22:35:52 -05:00
David Burnett 535a3e9d5b Make multi module container less strict
Want to discourage implementing IInventory for multiblocks, main user of this interface
2021-01-10 19:38:14 -05:00
David Burnett a3430a3adf Extract namable stuff from inventory tile entity to new superclass
Want some namable containers that are not traditional mantle inventories
Also introduced new writeSynced method to simplify writing clean NBT syncing
2021-01-10 16:57:42 -05:00
David Burnett 71c2ae2181 Correct fluid ingredient to use ITag instead of Tag 2021-01-08 23:52:55 -05:00
David Burnett 63b013b9b4 Add recipe serializer base class
Because its annoying for every serializer to extend one thing and implement another
2021-01-08 22:16:09 -05:00
Arthur (fuj1n) Uzulin f9c99feaf3 Added softwrapping to section list text, fixed softwrapper newline handling 2021-01-06 17:08:37 +11:00
KnightMiner dbfcff12a9 Make baked model constructors public
Easier to extend them
2020-12-31 17:06:10 -05:00
KnightMiner 448498d7ed Missing mappings util from TiC, so when we remove it there we still have it
Plus its useful in other mods
2020-12-30 20:12:26 -05:00
KnightMiner 893d856b05 Catch and log exceptions in faucet fluid loading 2020-12-28 21:30:12 -05:00
KnightMiner 9b87ae25de Prevent intitializing faucet fluid loader multiple times 2020-12-28 19:47:51 -05:00
KnightMiner 206a86ef0f Fix fluid renderer handling of light
Fluid renderer now uses fluid light in calculations
Fluid renderer no longer mixes up sky and block light coordinates
2020-12-28 19:20:17 -05:00
KnightMiner 769f864322 Port faucet fluid loader from Ceramics, to share between Ceramics and Tinkers 2020-12-28 17:44:26 -05:00
KnightMiner 8a3fdabc23 Make faces getter public for fluid cuboids 2020-12-25 18:17:38 -05:00