AsherGlick / ResourceCalculator

A Video Game Resource Calculator
https://resourcecalculator.com
GNU General Public License v3.0
59 stars 34 forks source link

add blackstone, basalt & stonecutter #18

Closed mmodrow closed 3 years ago

mmodrow commented 3 years ago

I added a Dockerfile to build and run the ResourceCalculator under Windows more easily. Can be executed by running docker build . -t resourcecalculator;docker run -dit --name resourcecalculator -p 8080:80 resourcecalculator.

Then I added a stone cutter for Minecraft and applied it to cutting stairs, as it is more efficient than crafting them. I also added Basalt with its variants and Blackstone with stairs & slabs.

I might still add the missing images, but I have not yet found an easy source - https://minecraft.fandom.com/wiki/ uses a big sprite, I won't cut at this time. Fixes #16 .

AsherGlick commented 3 years ago

I personally took screenshots of the creative menu at GUI scale 2, then cropped them in Gimp, in order to get most of the item images used in the minecraft resource calculator. It is a little time consuming but I found it to be the fastest way at the time to get accurate well-scaled images. The docker build container is brilliant for making it easier on windows.

mmodrow commented 3 years ago

I personally took screenshots of the creative menu at GUI scale 2, then cropped them in Gimp, in order to get most of the item images used in the minecraft resource calculator. It is a little time consuming but I found it to be the fastest way at the time to get accurate well-scaled images. The docker build container is brilliant for making it easier on windows.

Cutting up creative screenshots worked surprisingly well. After every dependency is downloaded the docker image takes ~36s to (re-)build the app on my laptop, which feels quick enough.

I think I have everything in, that I personally need (and something on the side like the 1.17 smooth variant of basalt and chiseled variants of blackstone).

I took the liberty, to fix some typos along the way ("xxx Bricks Slabs/Stairs" should be "xxx Brick Slabs/Stairs" -> singular brick) and to sort some item's recepies, so that easily obtainable resources are not suggested to be crafted from harder-to-get items (e.g. crafting wool from string or diorite from quarz and granite).

I will see, if I find some time, to add more 1.16 & stone cutter things (e.g. is cutting slabs more efficient, as it does not produce any extra items). But I guess that would be a separate PR, when I have some spare time.