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
KnightMiner
2d243a41aa
Fix missing helpers in JEI
2020-08-06 00:00:07 -05:00
KnightMiner
c6c4070c16
Future proof: for when Forge finally fixes the model data bug, prevent fetching connections if already fetched
...
Means a parent model can override connections data, or a TE as well. This PR
2020-08-05 21:34:52 -05:00
KnightMiner
cb213db95f
Add single property data and lazy load the instance in RetexturedTileEntity
2020-08-05 21:34:45 -05:00
KnightMiner
623a28f673
Disallow Blocks.AIR as a texture for models
...
Set to null so I do not need to check for two values every time
2020-08-05 21:34:16 -05:00
KnightMiner
65fa5cd869
Remove configurate version prop, its been removed
2020-08-05 21:10:18 -05:00
KnightMiner
7142f50d6a
Update multipart block logic to better support latest Forge build
...
We now always call the model data version, but we still do not always get needed model data.
2020-08-05 21:07:59 -05:00
KnightMiner
99571cafba
Port two data gen utilities from Inspirations
...
* Utility for adding config to recipes
* Utility for getting names and generic conditions in recipes
2020-08-03 00:32:59 -05:00
KnightMiner
5543aa202a
Remove deobf jar
...
Legacy resource
2020-08-03 00:26:09 -05:00
KnightMiner
f0e5bf0b81
Remove config module
...
Is unused without pulsar
2020-08-03 00:25:56 -05:00
KnightMiner
bf801e8f8c
Bit of resource cleanup
2020-08-03 00:18:23 -05:00
KnightMiner
99bf56c780
Clean up utilities
...
* Consistently naming utilities Helper instead of Utils
* Remove SlimeknightsException, I honestly have no idea why we needed our own exception
* Remove a couple unused utilities, not sure where they are from
* Add common block position NBT helper
* Remove getTagSafe helpers, vanilla added something similar recently and I'd rather avoid creating a throwing away a bunch of tags
2020-08-03 00:18:18 -05:00
KnightMiner
bb8442d4f5
Move recipe match to a better package.
...
Deprecate it until I know whether we are keeping it
2020-08-03 00:18:05 -05:00
KnightMiner
f883314a60
Add back JEI plugin and implement UI and retextured recipe logic
2020-08-03 00:18:00 -05:00
KnightMiner
ecca746f3b
Add dynamically retexturable blocks
...
Includes recipe, loot function, block, item, tile entity, and model
2020-08-02 22:26:09 -05:00
KnightMiner
6118f68379
Use capital case for inject objects
...
Since they are final
2020-08-02 22:22:03 -05:00