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
progwml6
995c161b38
attempt to fix missing toml file on jenkins
2020-11-02 22:12:56 -05:00
progwml6
8d9d5930c6
update for 1.16.4 support
2020-11-02 21:50:28 -05:00
KnightMiner
46b266883a
Sync inventory size on TE load
...
Breaks the container otherwise, leading to a painful to debug experience. Most of TiC syncs all NBT so we never noticed this error
2020-09-17 01:01:18 -04:00
KnightMiner
4d42154a16
Fix inventory tile entity not invalidating capabilities
2020-09-16 22:26:15 -04:00
KnightMiner
80c7b00421
Remove 1.16.1 compat
...
Looks like the tags stuff does not compile there
2020-09-16 22:16:51 -04:00
KnightMiner
7826020114
Switch to TagCollectionManager for fluid tag deserializing
...
FluidTags is not filled that early
2020-09-16 22:09:16 -04:00
KnightMiner
fdf24f2fc4
Add WeakConsumerWrapper, to be passed into a capabilties addListener
2020-09-16 22:03:54 -04:00
Marty E. Plummer
4ada54db1b
mantle: 'update' to 1.16.3
...
Mostly remapping, and that's just because I updated the mapping.
Resultant mod loads on minecraft 1.16.1, 1.16.2, and 1.16.3 with
forge versions 32.0.108, 33.0.61, and 34.0.7 respectively.
Signed-off-by: Marty E. Plummer <[email protected] >
2020-09-16 21:59:46 -04:00
KnightMiner
20d76939ee
Fix sized ingredient not using size parameter in some constructors
2020-09-12 23:51:09 -04:00
KnightMiner
712adc499d
Port IEarlySelectiveReloadListener from TiC/Inspirations
2020-09-05 18:49:53 -04:00
KnightMiner
4019fb3170
Make IMultiRecipe less scrict with generics
2020-09-05 18:49:45 -04:00
KnightMiner
26b668aabe
Sized ingredient improvemenets
...
Now has fromItems and fromTag. fromStacks is a little misleading whether it takes stack size into account, so I left it out
amount_needed is now optional in JSON, and is skipped if not required
EMPTY is now public (not sure why I made it private)
2020-09-02 18:06:24 -04:00
KnightMiner
4b582350cf
Add new sized ingredient util
...
Partial replacement for recipe match, handles the amount needed part of modifier recipes. Amount matched is done in material recipes only
2020-08-31 21:03:23 -04:00
KnightMiner
acd324dd43
Rename a few adapter methods to registerDefault
...
Fixes a conflict between Item and Function<Properties,T> of all things
2020-08-26 21:01:36 -04:00
KnightMiner
d321e30a5d
Add a fluid ingredient deserialize method using a JsonElement
2020-08-26 20:52:09 -04:00
KnightMiner
8de0584019
Improve JsonHelper.parseList
...
Parameters are now a bit cleaner
2020-08-26 20:51:45 -04:00
KnightMiner
24a9a1695a
Add more general version of arrayToVector for the sake of other sizes
...
Can use for a vector2f, or a vector4f, or even a matrix
2020-08-23 15:35:26 -04:00
KnightMiner
7285888e46
Improve abstract recipe builder group
...
Group is just never null now, so no need for the getter
Add a set group method that takes a resource location
2020-08-21 10:36:29 -04:00
KnightMiner
31fec7b116
Update to 1.16.2
...
Remove some deprecated code
Rename ModelItem::isEmpty to ModelItem::isHidden
Add generics to ModuleScreen
2020-08-20 18:51:07 -04:00
KnightMiner
e6d25b08f9
Fix retextured block items showing in all tabs
2020-08-10 16:24:54 -05:00
KnightMiner
46218ffbc4
Add a couple interfaces because Mojang adds too many methods to recipe interfaces
2020-08-10 13:08:57 -05:00
KnightMiner
2763a5b584
Add method to get a nonnull group to abstract recipe builder
2020-08-10 13:08:38 -05:00
KnightMiner
bc9f895a65
Add support for a simple block model loader
...
Not registered as its redundant to vanilla. Instead, useful as an alternative if you need to optionally register another loader.
2020-08-09 13:49:46 -05:00
KnightMiner
5655cd60e2
Add empty inventory constant
...
Satisfies the nonnull requirement if its ever needed.
2020-08-09 13:48:21 -05:00
KnightMiner
ea35fb298f
Extract some base logic of translation helper more
2020-08-08 22:49:57 -05:00
KnightMiner
19d39efbcf
Fix multimodule container nullability
2020-08-08 22:49:45 -05:00
KnightMiner
40b94cccf4
Use optionals in tile entity helper return
...
Keep old methods as deprecated
2020-08-08 22:49:36 -05:00
KnightMiner
f7a6f26088
Move model loader registration back to the model registry event
...
Recent Forge commit fixed the race condition, so putting it back at the intended location.
2020-08-08 21:08:27 -05:00