Commit graph

5361 commits

Author SHA1 Message Date
Simon
852c867a0d
Fixed #2892 Added Dark Green color. Thanks to SimonFlapse
* Changed the processing message of block breaker and placer to use dark green instead of green
2022-04-05 15:00:04 +03:00
Simon
7f2912009b
Added Block Breaker and Block Placer Machine. Huge thanks to SimonFlapse
* Added advancements crafting data for block breaker and placer

(From 7a31de7b869e67697f85aeca9f0a5099c6bc7d62)
Added Block Breaker Machine (#2871)

* Added a new machine that can break blocks in front of it

(From e56a51da2b0c4e144cdf70ebff53d7097e81b5ce)
Added Block Placer Machine

* Added a new machine that can place blocks in front of it

(From e80de2ec82e0a14f161137e4b147bb455a839e3d)
Added Block Breaker and Placer recipe

(From dccdf76eacb8ceb7075897170e098bc346b8b4db)
Break blocks instead of removing + Refactoring
2022-04-02 10:47:36 +03:00
Ayutac
c8ca8a5aa3
More sawmill recipes, finally :) Thanks to Ayutac
Important one is adding the nether stuff, which I forgot in a previous sawmill update.
Added slicing of a part of stairs to make slabs.
Added slicing slabs into pressure plate.
Added sawdust recipes for a lots of wooden stuff.
Also added grinder recipes when appropriate.
2022-04-01 09:55:35 +03:00
Ayutac
07e8ddf172
Datagen'd the vanilla dye recipes. Thanks to Ayutac.
Notably also added the extractor recipes for Cornflower, Lapis Lazuli, Cocoa Beans, Bone Meal and Lily of the Valley, hence implementing #2789
2022-04-01 09:55:09 +03:00
AngelBottomless
5dbad187ef
Dispenser Scrap Box related bug fix. Thanks to aria1th.
* Cache World-common recipe and use it

solves weird recipe errors and small performance improvement 
Expects : RebornRecipes are Immutable

* okay what is that split?

this actually solves recipe getting evaporated by modifying recipe object itself
2022-04-01 09:54:42 +03:00
Ayutac
61188e755d
No, bad RuntimeException!!
Of course I oversaw the second one... No PR this time since I just cp'd the exception class
2022-03-31 20:01:55 +02:00
Ayutac
e829e371d1
Formatted comment for better readability 2022-03-31 19:54:17 +02:00
Ayutac
8394a9940b RuntimeExceptions are not to be thrown
as a PR to be sure this still compiles and I haven't introduced a typo here by chance.

Will merge once checks say it's okay
2022-03-31 19:34:12 +02:00
Simon
0f9512efc5
Fix #2847 Allowing values larger than Integer.MAX_VALUE. Thanks to SimonFlapse
* Fix #2847 Allowing values larger than Integer.MAX_VALUE

* Allowed the GUI to display `Long` numbers to fix overflow values

* Added missing Death Messages from stepping on the fusion reactor

* Fusion Control using TranslatableText

* I've converted LiteralText to TranslatableText
2022-03-30 12:29:58 +03:00
Ayutac
3f28d3903f
Added fishing junk loot (#2869)
Rubber and tree tap
2022-03-30 12:23:55 +03:00
Simon
fa0b47c0a8
Fix #2811 Iron Furnace recipe reset did not reset progress. Thanks to SimonFlapse 2022-03-30 12:23:42 +03:00
Ayutac
ccfeeb42b1
Added datagen: Concrete Grinder and some dying recipes. Thanks to Ayutac
* Added datagen: Concrete Grinder and some dying recipes

* fixed the bugs

* dont decrease efficiency of carpet...

* another bug leftover, whoops
2022-03-30 12:23:05 +03:00
Simon
e28c9176e5
#2775 Adding Trinket support for BatpackItem. Thanks to SimonFlapse
* #2775 Adding trinket support for BatpackItem

* Added support for wearing BatpackItems in the 'back' trinket slot on the chest. This frees up an additional space for regular armor.

* BatpackItem only output when in chest armor slot
2022-03-30 12:21:29 +03:00
AngelBottomless
4fc9352c76
Fix RecipeCrafter spamming sound every tick. Thanks to aria1th
* Fix RecipeCrafter spamming sound every tick

Recycler was able to spam sound due to this. Now its limited to twice per second

* Revert Indent changes & test code

Its Identical whitespaces but different?
Speed Multiplier was changed to verify packet speed, should be reverted
2022-03-28 08:45:05 +03:00
Ayutac
80ee73ddab
New recipes + 1 nerf. Thanks to Ayutac.
* Improved readability of GrinderRecipesProvider

* GrinderRecipesProvider: Sandstone recipes

* GrinderRecipesProvider: added Sandstone recipes

* fixed a generation bug

* nerfed green dye from plantball

* added armor stand extraction recipe

* added book extraction recipe

* added elytra extraction recipe

* added shulker shell extraction recipe
2022-03-27 16:19:24 +03:00
Simon
037851ba3d
Fix #2872 Converted Nickel Dust advancement to Nugget. Thanks to SimonFlapse. 2022-03-27 16:17:40 +03:00
Simon
c61398c950
Fix #2850 Fetching cooking time based on recipe. Thanks to SimonFlapse
* Added new method cookingTime(), replacing totalCookingTime
* Added GameTest for validating smelting times
2022-03-27 16:15:22 +03:00
Ayutac
d2c146b257
Fixed file ending to .json 2022-03-25 14:20:55 +01:00
Ayutac
eab74f9745
Fixed file ending to .json 2022-03-25 14:20:33 +01:00
Ayutac
ad9fb6ca28
Replaced crafting_table with c:workbench, thanks to Xanthian 2022-03-25 12:33:52 +01:00
Ayutac
dbd0cd72f4
Replace blockus:barrels with c:wooden_barrels, thanks to Xanthian 2022-03-25 12:29:59 +01:00
Technici4n
5eb8890d94
Cable optimization: use BlockApiCache to get adjacent BE. Thanks Technici4n 2022-03-25 10:38:58 +03:00
Ayutac
cfff12afd6
Made drain speed configurable for #2863. Thanks to Ayutac. 2022-03-25 10:28:14 +03:00
xanthian
3ad1e4237f
Delete src/main/resources/data/blockus/tags/items directory 2022-03-24 09:14:17 +00:00
xanthian
f1bb48ee57
Update auto_crafting_table.json 2022-03-23 18:22:19 +00:00
xanthian
36fd7b5368
Create workbench 2022-03-23 18:21:15 +00:00
xanthian
87eb6edf21
Create wooden_barrels 2022-03-23 18:18:38 +00:00
xanthian
bf0b9fc196
Update crude_storage_unit.json
removed blockus c: tag
2022-03-23 17:54:30 +00:00
AngelBottomless
7f415d3ec9
Cache Torus.generate result for Origin (#2845)
* Cache Torus.generate result for Origin

Fusion Coils are laggy, not by ticking block entities, just purely by torus.generate(BlockPos.origin, size)

* Assign TorusListCache

* use cached result
2022-03-05 14:17:16 +00:00
modmuss50
40f4785816 Fix possible server crash. 2022-03-04 16:07:37 +00:00
modmuss50
85757e7854 Remove autoswitch api as the API broke, and I cannot find a working latest version on jitpack or cursemaven. I can bring this back once fixed, right now this is breaking the build. 2022-03-04 16:06:41 +00:00
modmuss50
61c1cd7744 5.2.0-beta.2 2022-03-04 15:16:32 +00:00
modmuss50
0a8e34d9c6 Add ClientNetworkManager 2022-03-02 14:39:30 +00:00
Ayutac
08ed4abcd4
Resin Basin updated. Thanks to Spearkiller and Ayutac. (#2777)
* Resin Basin updated. Thanks to Spearkiller and Ayutac.

Hitbox has been updated to half a block, better matching the model.
Item model has been updated by Spearkiller to look nice.
There was a weird inconsistency about the amount of sap given to player depending on either putting it into an inventory or breaking the block.

Right click to harvest basin didn't work as intended, so removed for now.

Also it seems the block states (full/pouring/pouringTime) are not saved via nbt?

Also also wow the warnings.

* Added removal of sap from basin when right -clicking.

The error was me not understanding that "setFullState" had nothing to do with the variable "isFull". My bad, my bad.

For some reason one right click triggers the onUse twice, and previously I didn't correctly update the sap after the first one, but now it should work. Testing went off without a hitch.
2022-03-02 14:33:27 +00:00
modmuss50
612657ecf4 Even more client/server cleanup. 2022-03-02 14:32:52 +00:00
modmuss50
9c390e40a5 Revert manual.png removal. 2022-03-02 14:22:26 +00:00
modmuss50
0296c59393 More client/server cleanup. 2022-03-02 14:20:34 +00:00
modmuss50
14c237e4a4 Update curseforge version. 2022-03-02 02:41:20 +00:00
modmuss50
4772af50ff Fix log spam due to trying to add RebornRecipe's to the recipe book.
Regressed in: d200f931f3
2022-03-02 02:39:22 +00:00
modmuss50
d59092ac5c Fix #2842 Register the recipe type with vanilla's registry. 2022-03-02 02:32:51 +00:00
modmuss50
f2be7d0acc Stable 1.18.2 2022-03-02 02:28:59 +00:00
modmuss50
03985f2aae Move all RebornCore client code into the client package.
Also Fix PowerSystem.locale being awful.
2022-03-02 02:27:04 +00:00
modmuss50
7c02024a2d Fix item renderer command doing bad things. Now works on a server :)
Final major thing I noticed when trying to split the client and server.
2022-03-02 02:01:59 +00:00
modmuss50
27cc9d0730 Refactor sendNoSpamMessage to use a packet, fixes a number of issues where no chat messsage was being received at all.
More work towards splitting client and server.
2022-03-02 01:50:38 +00:00
modmuss50
45c1e7412c Merge remote-tracking branch 'Ayutac/1.18-Ayutac-datagen-6' into 1.18
# Conflicts:
#	RebornCore/src/main/java/reborncore/common/misc/TagConvertible.java
#	src/datagen/groovy/techreborn/datagen/recipes/TechRebornRecipesProvider.groovy
#	src/datagen/groovy/techreborn/datagen/recipes/machine/compressor/CompressorRecipesProvider.groovy
#	src/main/java/techreborn/init/TRContent.java
2022-03-02 01:19:11 +00:00
modmuss50
7065f5efae Split GuiType into ClientGuiType to remove some horrid code. 2022-03-02 01:06:05 +00:00
xanthian
89e0c6b0cf
add c:workbench
to include compat for byg, betterx and other mods with added crafting tables
2022-03-01 12:35:29 +00:00
xanthian
e653d28a7d
add c:wooden_barrels to recipe
tested in dev working fine, 
betterx, blockus, eden ring, vanilla and other mods barrels all accepted as viable recipe
2022-03-01 12:11:34 +00:00
modmuss50
c72f519248
5.2.0-beta.1 2022-02-28 14:13:51 +00:00
modmuss50
f7d5139332
Port to 1.18.2 (#2824)
* Port to 1.18.2-pre1

* 1.18.2-pre3

* Fix build.

* Fixes and cleanup

* Build fix?

* Update REI
2022-02-28 09:18:27 +00:00