Closed BeetMacol closed 3 years ago
I think that 1 plank should equal 1 stair, as you are theoretically cutting a corner out.
Looks good (I haven't tested it in-game yet). The recipe type shouldn't be in MotherlodeBuidingBlocks
, though. Maybe a separate class, or just in MotherlodeModule
.
Also, to generate the block item model, you shouldn't make the Block an AssetProcessor. Instead, just use the register
method with CommonAssets.BLOCK_ITEM
as an argument in MotherlodeBuildingBlocks
.
Thanks for changing the Motherlode.id(MotherlodeModule.MODID, ...)
. Seems like I missed a lot of those.
I think that 1 plank should equal 1 stair, as you are theoretically cutting a corner out.
It already does.
Looks good (I haven't tested it in-game yet). The recipe type shouldn't be in
MotherlodeBuidingBlocks
, though. Maybe a separate class, or just inMotherlodeModule
.
Yeah I was thinking about that. I didn't want to make a lot of classes for each type of thing, because i have a screen, screen handler, recipe type and recipe. I think I will move it to MotherlodeModule.
Also, to generate the block item model, you shouldn't make the Block an AssetProcessor. Instead, just use the
register
method withCommonAssets.BLOCK_ITEM
as an argument inMotherlodeBuildingBlocks
.
Ok, I'll do that.
Thanks for changing the
Motherlode.id(MotherlodeModule.MODID, ...)
. Seems like I missed a lot of those.
A few days ago when I was working on that actively (i had a break and finished it today), I was using Motherlode.id(MotherlodeModule.MODID, ...)
I noticed the MotherlodeModule#id
method today's morning and used the replace tool to change it.
UI Could be taller, the Inventory
title's looking a bit crushed, and so is the Sawmill
title
UI Could be taller, the
Inventory
title's looking a bit crushed, and so is theSawmill
title
Yes I noticed it the moment I tested the GUI for the very first time. I was thinking about changing it but I couldn't find any vanilla GUI with any other size, so I thought it will be better to leave it the way it is.
It is pretty much finished. Recipes per each wood type and mod support can be added after all the wood types are added and platform recipes can be added later because there are a lot of things in Motherldoe that don't have any recipe anyway. I am not sure how to do the shift clicking thought. Can't find a way to check if player is shift clicking without an additional packet or replacing the output buttons with slots (it would also require a special packet if I remember correctly).
It is pretty much finished. Recipes per each wood type and mod support can be added after all the wood types are added and platform recipes can be added later because there are a lot of things in Motherldoe that don't have any recipe anyway.
I could add the recipes for WoodType, when this PR is merged.
Adds sawmill and sawmilling recipes.
Sawmillings gives player slight advantage in crafting wood products. It may let you craft them in smaller portions and be cheaper at the same time.
In code, output is represented as buttons instead of slots.
The problem with sawmilling
A lot of recipes are hard to create logically; wood products usually consist of more than a single oak plank. I didn't create any recipes that would take more than 1 item as input because there are no recipes that use more than 1 item per slot and sawmill only has one input slot.
I can only see two solutions for that problem:
Recipes list and comparison with workbench crafting
OUT - output
SW4 - Sawmilling 1 log SW1 - Sawmilling 1 planks WB4 - Converted Workbench/Vanilla output per 1 log (WB1×4) WB1 - Converted Workbench/Vanilla output per 1 planks WBp - Workbench/Vanilla proper recipe
Sawmill also lets you craft 1 log out of 1 wood (wood is the log with bark on every side), and allows you to use wood for all of the log recipes (except wood itself obviously). I can do the same thing with stripped logs and wood, but vanilla does not let you change stripped ones to non-stripped ones, so it should be discussed. It would be really useful for builders but also it doesn't make a lot of sense.
Adding tool recipes to sawmill is also possible and should be considered.
TODO List
I know it looks like a lot of stuff to do but the unchecked ones are minor issues (in most cases)