Commit graph

5283 commits

Author SHA1 Message Date
modmuss50
30dcd5dfa8 Depend on the reborn core version it was built against. 2022-02-03 11:35:39 +00:00
modmuss50
1fcf18707b Handle the world not existing for some reason when calculating the ore depth. 2022-02-03 11:20:37 +00:00
modmuss50
31743d7684 Update Energy API and deps. 2022-02-02 21:21:06 +00:00
Ayutac
100579c288
Added two storage blocks, textures by Xanthian. Thanks to Ayutac.
* Half of 2 new blocks, other half is a lot of data/model files

* Rest of the data/asset changes for new storage blocks.

* Bugfixes

* made hot tungstensteel storage block opaque
2022-02-01 13:53:11 +03:00
modmuss50
831dcf0ccb Beta 8 2022-01-31 18:25:24 +00:00
modmuss50
7082238357 Fix rolling machine crash. 2022-01-31 18:24:51 +00:00
Ayutac
45c1016105
Removed unused GUI textures. (#2778) 2022-01-31 17:15:48 +00:00
Ayutac
af5f1b37c3 Tried adding BlastFurnace recipes, doesn't work yet 2022-01-31 17:43:49 +01:00
Ayutac
4952cee268 Used TagConvertible for all smelting recipes. 2022-01-31 16:22:49 +01:00
Ayutac
5b4dec0cc3 Compressor datagen w/o toasts. 66 recipes changed from manual to datagen
Unified power/time for a couple of similar processings.
2022-01-29 17:26:55 +01:00
Ayutac
79715b89a1 Grinder datagen w/o toasts. -25 manual, +41 datagen recipes
Unified power/time for a couple of similar processings.
All storage blocks of items that could be grinded should be able to be grinded now, with some time save compared to the items themselves.
2022-01-29 10:27:51 +01:00
modmuss50
5b596aa5f8 Sync ore depths to all clients via a packet on server login. 2022-01-28 20:14:35 +00:00
modmuss50
32368f8388 First look at data generated machine recipes.
Doesn't support all the features but should be a good start.
2022-01-28 19:18:43 +00:00
modmuss50
9e6b4385f6
Beta 7 2022-01-28 14:04:27 +00:00
modmuss50
fa657d46e8 Fix recipe syncing, improve (add) error handling. 2022-01-27 20:34:26 +00:00
modmuss50
bd6bcf55ab
Beta 6 2022-01-27 15:49:16 +00:00
Ayutac
9fcf9447e4
Added Rubber Sapling to wandering trader (#2772) 2022-01-23 18:35:26 +00:00
Ayutac
f65e4466fe
added missing loot chests (#2771) 2022-01-23 18:35:11 +00:00
Ayutac
f6eca1440b
Small Piglin tag update (#2770)
* Small Piglin tag update

added gold plate and electrum to piglin stuff. Piglins should be able to smell the gold out of an electrum ingot and a block, but not a nugget. Baby piglins are worse at this.

Explicitly used TR IDs instead of c tags because this is part of TR flavor imo

* forgot electrum plate

* and gold cables
2022-01-23 18:34:47 +00:00
Ayutac
0a5be13901
1.18 ayutac datagen4 (#2769)
* Added dust crafting data gen.

Generation works, but how do I get TR to recognize the existence of the new stuff?

* Added generic armor and tools to the datagen. Also resolved conflicts from the merge with recently changed datagen

* Fixed copy-paste error

by accident for second ingredient first would be taken again

* automatized tag generation

* fixed lingering bugs from previous commit

* much much more gen, for about 269 files

* wrongly deleted recipes in last commit

* Added rest of the decorative storage block variants to datagen
2022-01-23 18:34:35 +00:00
Ayutac
9f5a616b15
fixed typo in variable declaration via refactor. Thanks to Ayutac. 2022-01-23 13:05:12 +03:00
Ayutac
18c8c40f27
Fixed AutoCrafting Table bug (#2762)
If the table was locked, canMake only checked for each ingredient to be there more than once, but make greedily took all items from the first encountered slot of the needed ingredient if the recipe didn't use the full crafting table and the ingredients weren't aligned to the upper left corner of the crafting table (discovered and reproducible with three wheat in the first column second row and single wheats in the other two columns of the second row).

This commit simply disallows greedy behaviour, each crafting grid slot can only be used once.

I also made one or two changes to the rest of the code (formatting,use of constants etc) while I was at it, but these didn't change functionality.
2022-01-20 20:20:32 +00:00
Ayutac
6180141cd0
Added optional removal of the current recipe unlock (#2758)
Should default to false in old and new configs, ie no new behaviour, but now I can deactivate it via config instead of using an unofficial distribution. Will probably come back to this once the toasts are finished...
2022-01-20 19:56:47 +00:00
modmuss50
e3e5414cee
Merge pull request #2760 from Ayutac/1.18-Ayutac-38
Added XP for ores, fixes #2759
2022-01-20 19:56:23 +00:00
modmuss50
17e8911978
Refactor recipe system. 2022-01-20 19:55:40 +00:00
modmuss50
7e1125f6aa Fix #2625. 2022-01-20 19:54:20 +00:00
modmuss50
c0b6b231c4 Fix datagen 2022-01-20 19:44:11 +00:00
modmuss50
3eb91f255c Finish 2022-01-20 19:40:55 +00:00
modmuss50
8863ea30b3 Merge branch '1.18' into recipe_serde
# Conflicts:
#	RebornCore/src/main/java/reborncore/common/crafting/RebornRecipeType.java
#	src/datagen/groovy/techreborn/datagen/recipes/smelting/SmeltingRecipesProvider.groovy
2022-01-20 18:51:48 +00:00
modmuss50
646132e908 Cleanup build script and hopefully fix datagen. 2022-01-20 18:39:34 +00:00
Ayutac
f4c0cf9e8e Fixed bug introduced in previous commit.
Deepslate was a problem because they don't save their distribution. Added a workaround.
2022-01-20 16:30:18 +01:00
Ayutac
b7a42f0a01 Added XP for ores, fixes #2759
The ore XP drop is not done by JSON but by hard-coding as a second parameter to OreBlock.
2022-01-20 02:34:33 +01:00
modmuss50
55eb70742f Migrate to SLF4j 2022-01-19 20:41:36 +00:00
xanthian
98eed4da8e
Cell dupe fix (#2737)
* Update nitro_diesel.json

reduced from 5 to 2 to remove the cell duplication.
running this recipe gave 3 free cells

* Update nitrocoal_fuel.json

reduced from 5 to 2 to remove the cell duplication.
running this recipe gave 3 free cells

* Update sulfuric_acid.json

reduced from 3 to 2 to remove the cell duplication.
running this recipe gave 1 free cell

* Update nitrogen_dioxide.json

increased from 1 to 2 return correct cell input
running this recipe lost 1 cell

* Update water.json

increased from 1 to 2 return correct cell input
running this recipe lost 1 cell
2022-01-17 22:47:07 +00:00
Ayutac
6db3df3037
Added sponge piece + recipes, texture by Spearkiller (#2751) 2022-01-17 22:41:50 +00:00
Ayutac
2278b76d8d
Added prismarine related recipes (#2749)
* Added prismarine related recipes

* Fixed glowstone recipe for chemical reactor

* On second thought, removed the chemical reactor recipes.

* Revert "On second thought, removed the chemical reactor recipes."

This reverts commit 708dfb308c55577584cb85e8cf253f0cd8c21174.
2022-01-17 22:40:58 +00:00
Ayutac
9ae1f53c7d
Added misc recipes (#2748)
* Added misc recipes

3 new recipes for plantball. 1 via 3x3 grass variants (new tag), 1 via cross/ball per kelp and sugar so it doesn't take up the space of a storage block in other mods maybe.
5 small calcite dust -> calcite (requiring one more small dust than yielded by grinding calcite)
Centrifuge recipes for eggs and turtle eggs, yielding methane and a bit of calcite dust
Centrifuge recipe for tuff into ashes and dark ashes.

* Added misc recipes

3 new recipes for plantball. 1 via 3x3 grass variants (new tag), 1 via cross/ball per kelp and sugar so it doesn't take up the space of a storage block in other mods maybe.
5 small calcite dust -> calcite (requiring one more small dust than yielded by grinding calcite)
Centrifuge recipes for eggs and turtle eggs, yielding methane and a bit of calcite dust
Centrifuge recipe for tuff into ashes and dark ashes.
2022-01-17 22:40:19 +00:00
Technici4n
86850033e3
Fix #2579: expose inner storage unit stack to transfer API (#2738)
* Fix #2579: expose inner storage unit stack to transfer API

* Maintain == ItemStack.EMPTY
2022-01-17 22:39:57 +00:00
xanthian
2bceaa46c2
Update TechRebornConfig.java (#2736)
fix spelling errors on overclocker config

may or may not have had any impact, 
It is referenced in src/main/java/techreborn/init/TRContent.java

				handler.addSpeedMulti(TechRebornConfig.overclockerSpeed);
				handler.addPowerMulti(TechRebornConfig.overclockerPower);
2022-01-17 22:39:35 +00:00
modmuss50
b59c535c3d Use fabric resource conditions api. Remove reborncore's. 2022-01-17 22:34:47 +00:00
xanthian
6b01bf64e2
Update silver and steel armor icons. Thanks to xanthian.
color corrected icons to match ingot hex codes identically.
2022-01-16 23:07:34 +03:00
Ayutac
1d6e11ed4f
Recipe removal, fixes #2750. Thanks to Ayutac.
Delete centrifuge recipe for poisonous potato
2022-01-15 00:42:07 +03:00
Ayutac
b2dac12c0f
Centrifuge recipe: podzol fix. Thanks to Ayutac
wrong mod tag (and count unnecessary)
2022-01-14 19:55:52 +03:00
Ayutac
9277acfadb
Added quantum suit to freeze immunables. Thank to Ayutac 2022-01-14 19:30:48 +03:00
xanthian
07590f4821
Update gradle.properties. Thanks to Xanthian
update fapi & rei versions
2022-01-14 19:28:43 +03:00
Ayutac
f7ad6c3094
Misc recipe additions/changes. Thanks to Ayutac.
* Misc recipe additions/changes

Added smooth basalt to basalts that can be centrifuged.
Added centrifuge recipes for rooted dirt and coarse dirt.
Added centrifuge recipe for moss block, which gives (uncompressed) plant ball.
Changed centrifuge recipe for grass block to give uncompr. plant ball instead of wheat seeds, eliminating the implication that every grass block holds wheat seeds.
Added grinder recipe to get small glowstone dust out of shroomlights (I forgot that in the fungus update)
Changed grinder recipe for gravel, now accepts all stone tool materials instead of only cobblestone.
Added a use for the andesite/diorite/granite dusts. Craft all 3 together with flint to get 4 gravel.
Added crafting 9 leaves/saplings of any kind into a plantball.
Added extractor recipe for green dye by using uncompr. plantball. Should never allow compressed plantball as that is out of juice, so to say.
Added extractor recipe for orange dye by using carrots.
Added extractor recipe for red dye by using beetroot.
Added extractor recipe for hanging roots by using rooted dirt.
Changed extractor recipe for stick to yield two sticks instead of one.
Changed electrolyzer recipe to accept anything tagged as sand instead of only the item sand, now also allowing red sand to be electrolyzed into silicon.

* Changed coarse dirt and sapling plantball thanks to feedback.

* Added centrifuge recipe for podzol

The idea here is that while there is a lot of plant stuff on the podzol stuff, it is not as fresh, hence only 1 plantball. On the other hand IRL podzol is rich of minerals and stuff, so two clay balls instead of one?
2022-01-10 01:14:57 +03:00
drcrazy
58c87b3bbf Update yarn and fapi versions. 2022-01-10 01:12:58 +03:00
drcrazy
4560771144 Remove unused method. 2022-01-10 00:43:06 +03:00
drcrazy
c887d1652d Fix item storage blocks. Closes #2717 2022-01-10 00:39:56 +03:00
vladislemon
cf9965a598
Fixes #2680. Chunks that had tickets before world save/load now takes tickets after world load. Chunk Loaders now works without players in world. (#2735) 2022-01-09 16:10:32 +00:00