Created all? sag mill recipes #81

Merged
albinaask merged 4 commits from dev/1.19.x into dev/1.19.x 2022-08-30 22:32:55 +00:00
albinaask commented 2022-08-21 16:13:27 +00:00 (Migrated from github.com)

Description

Registered what I think is all the Sag mill recipes added by enderIO in 1.12

Note that exporting tags as outputs seem broken, so the outputs generally points to items.

There also seem to be a bug where the first output item of an inputted stack disappears for some reason. Was that way when I cloned and is like that still since I didn't find the cause

This should not be a breaking change.

(Also) note that this is my first PR for this project so if all isn't as it should be then I'll correct it if I get pointed in the right direction

# Description Registered what I think is all the Sag mill recipes added by enderIO in 1.12 Note that exporting tags as outputs seem broken, so the outputs generally points to items. There also seem to be a bug where the first output item of an inputted stack disappears for some reason. Was that way when I cloned and is like that still since I didn't find the cause This should not be a breaking change. (Also) note that this is my first PR for this project so if all isn't as it should be then I'll correct it if I get pointed in the right direction <!-- Thanks to: https://embeddedartistry.com/blog/2017/08/04/a-github-pull-request-template-for-your-projects/ for the building blocks of this template -->
Rover656 commented 2022-08-21 18:19:12 +00:00 (Migrated from github.com)

Note that exporting tags as outputs seem broken, so the outputs generally points to items.

Could you expand on what is broken please?

There also seem to be a bug where the first output item of an inputted stack disappears for some reason. Was that way when I cloned and is like that still since I didn't find the cause

Interesting, if you could file a bug report with a few reproduction steps that'd be fantastic.

Thanks for the PR, I'll check this over now and then I'll ask to to execute the runData target to generate the JSON files :)

> Note that exporting tags as outputs seem broken, so the outputs generally points to items. Could you expand on what is broken please? > There also seem to be a bug where the first output item of an inputted stack disappears for some reason. Was that way when I cloned and is like that still since I didn't find the cause Interesting, if you could file a bug report with a few reproduction steps that'd be fantastic. Thanks for the PR, I'll check this over now and then I'll ask to to execute the `runData` target to generate the JSON files :)
albinaask commented 2022-08-21 18:49:28 +00:00 (Migrated from github.com)
build("sand", Ingredient.of(Items.SAND), List.of(
        		output(EIOTags.Items.SILICON, 0.5f)
        		),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);

yields error in runData task while:

build("sand", Ingredient.of(Items.SAND), List.of(
        		output(EIOItems.SILICON.get(), 0.5f)
        		),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);

Is fine, I talked to EpicSquid who says it's a vanilla feature.

Sure, I'll do that!

For some reason I thought that they should be left behind just like compile units are in C++ projects, but I'll supply those ;)

``` build("sand", Ingredient.of(Items.SAND), List.of( output(EIOTags.Items.SILICON, 0.5f) ),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer); ``` yields error in runData task while: ``` build("sand", Ingredient.of(Items.SAND), List.of( output(EIOItems.SILICON.get(), 0.5f) ),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer); ``` Is fine, I talked to EpicSquid who says it's a vanilla feature. Sure, I'll do that! For some reason I thought that they should be left behind just like compile units are in C++ projects, but I'll supply those ;)
albinaask commented 2022-08-21 19:12:21 +00:00 (Migrated from github.com)

Regarding the bug it seems like it's been fixed when I test it now, so never mind. I committed the generated files in a second commit. However I haven't figured out how to merge them together to one to make it neater...

Regarding the bug it seems like it's been fixed when I test it now, so never mind. I committed the generated files in a second commit. However I haven't figured out how to merge them together to one to make it neater...
Rover656 commented 2022-08-21 21:16:37 +00:00 (Migrated from github.com)
build("sand", Ingredient.of(Items.SAND), List.of(
        		output(EIOTags.Items.SILICON, 0.5f)
        		),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);

yields error in runData task while:

build("sand", Ingredient.of(Items.SAND), List.of(
        		output(EIOItems.SILICON.get(), 0.5f)
        		),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);

Is fine, I talked to EpicSquid who says it's a vanilla feature.

Sure, I'll do that!

For some reason I thought that they should be left behind just like compile units are in C++ projects, but I'll supply those ;)

I just tried the sand recipe builder with the silicon tag and it was working fine, what error was it giving you?

> ``` > build("sand", Ingredient.of(Items.SAND), List.of( > output(EIOTags.Items.SILICON, 0.5f) > ),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer); > ``` > > yields error in runData task while: > > ``` > build("sand", Ingredient.of(Items.SAND), List.of( > output(EIOItems.SILICON.get(), 0.5f) > ),BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer); > ``` > > Is fine, I talked to EpicSquid who says it's a vanilla feature. > > Sure, I'll do that! > > For some reason I thought that they should be left behind just like compile units are in C++ projects, but I'll supply those ;) I just tried the sand recipe builder with the silicon tag and it was working fine, what error was it giving you?
Rover656 (Migrated from github.com) requested changes 2022-08-21 21:18:49 +00:00
Rover656 (Migrated from github.com) left a comment

Some review comments for you. I'd have to pop open a 1.12.2 environment to check these and I dont have the time right now

Some review comments for you. I'd have to pop open a 1.12.2 environment to check these and I dont have the time right now
Rover656 (Migrated from github.com) commented 2022-08-21 21:06:23 +00:00

Please add .vscode/ to the gitignore file.

Please add `.vscode/` to the gitignore file.
@ -14,33 +15,303 @@ import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
Rover656 (Migrated from github.com) commented 2022-08-21 21:17:19 +00:00

Change this for the silicon tag, it compiled and generated fine for me.

Change this for the silicon tag, it compiled and generated fine for me.
Rover656 (Migrated from github.com) commented 2022-08-21 21:17:55 +00:00

I'm not sure there is a sugarcane tag?

I'm not sure there is a sugarcane tag?
Rover656 (Migrated from github.com) commented 2022-08-21 21:18:02 +00:00

Erroneous how?

Erroneous how?
@ -42,0 +152,4 @@
output(STRING, 0.1f)),
BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);
build("quartz_block", Ingredient.of(Tags.Items.STORAGE_BLOCKS_QUARTZ), List.of(
Rover656 (Migrated from github.com) commented 2022-08-21 21:17:43 +00:00

What do you mean any:glowstone, you mean a tag for any glowstone block?

What do you mean any:glowstone, you mean a tag for any glowstone block?
albinaask (Migrated from github.com) reviewed 2022-08-25 10:19:19 +00:00
@ -42,0 +152,4 @@
output(STRING, 0.1f)),
BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);
build("quartz_block", Ingredient.of(Tags.Items.STORAGE_BLOCKS_QUARTZ), List.of(
albinaask (Migrated from github.com) commented 2022-08-25 10:19:19 +00:00

Yes, It'd be for like the chisel variants of glowstone blocks

Yes, It'd be for like the chisel variants of glowstone blocks
albinaask (Migrated from github.com) reviewed 2022-08-25 10:19:49 +00:00
@ -14,33 +15,303 @@ import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
albinaask (Migrated from github.com) commented 2022-08-25 10:19:49 +00:00

Well then, I'll remove the todo then

Well then, I'll remove the todo then
albinaask (Migrated from github.com) reviewed 2022-08-25 10:20:31 +00:00
@ -14,33 +15,303 @@ import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
albinaask (Migrated from github.com) commented 2022-08-25 10:20:30 +00:00

Sorry, left some test code, removing!

Sorry, left some test code, removing!
albinaask (Migrated from github.com) reviewed 2022-08-25 10:24:01 +00:00
@ -14,33 +15,303 @@ import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
albinaask (Migrated from github.com) commented 2022-08-25 10:24:00 +00:00

Weird, could have sworn that it crashed for me just a couple of days ago, but now it seems fine like you say... I donno... swapped to the tag like you said

Weird, could have sworn that it crashed for me just a couple of days ago, but now it seems fine like you say... I donno... swapped to the tag like you said
albinaask (Migrated from github.com) reviewed 2022-08-25 10:24:12 +00:00
albinaask (Migrated from github.com) commented 2022-08-25 10:24:12 +00:00

Done

Done
justliliandev (Migrated from github.com) reviewed 2022-08-25 10:24:45 +00:00
@ -42,0 +152,4 @@
output(STRING, 0.1f)),
BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);
build("quartz_block", Ingredient.of(Tags.Items.STORAGE_BLOCKS_QUARTZ), List.of(
justliliandev (Migrated from github.com) commented 2022-08-25 10:24:45 +00:00

that is chisel:glowstone, but I'm not sure if we should have such a tag. Maybe we should create a tag like forge:glowstone and put chisel:glowstone into it

that is chisel:glowstone, but I'm not sure if we should have such a tag. Maybe we should create a tag like forge:glowstone and put chisel:glowstone into it
albinaask (Migrated from github.com) reviewed 2022-08-25 10:26:02 +00:00
@ -42,0 +152,4 @@
output(STRING, 0.1f)),
BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);
build("quartz_block", Ingredient.of(Tags.Items.STORAGE_BLOCKS_QUARTZ), List.of(
albinaask (Migrated from github.com) commented 2022-08-25 10:26:02 +00:00

But I didn't find any tag, so leaving it as it is for now...

But I didn't find any tag, so leaving it as it is for now...
albinaask (Migrated from github.com) reviewed 2022-08-25 10:32:04 +00:00
@ -42,0 +152,4 @@
output(STRING, 0.1f)),
BASE_ENERGY_PER_OPERATION, finishedRecipeConsumer);
build("quartz_block", Ingredient.of(Tags.Items.STORAGE_BLOCKS_QUARTZ), List.of(
albinaask (Migrated from github.com) commented 2022-08-25 10:32:04 +00:00

Creating tags are far above my knowledge, so I'm afraid that has to be left out of this PR

Creating tags are far above my knowledge, so I'm afraid that has to be left out of this PR
justliliandev (Migrated from github.com) approved these changes 2022-08-30 20:23:20 +00:00
justliliandev (Migrated from github.com) left a comment

Energy cost is a bit off, but otherwise fine. Some recipes have changed compared to 1.12, but I don't think it's a problem. Also we might need to change energy cost, but that can be done later

Energy cost is a bit off, but otherwise fine. Some recipes have changed compared to 1.12, but I don't think it's a problem. Also we might need to change energy cost, but that can be done later
justliliandev commented 2022-08-30 20:25:22 +00:00 (Migrated from github.com)

If no one has anything against merging this (except the merge conflict, but I can fix that myself) I'm going to do that tomorrow

If no one has anything against merging this (except the merge conflict, but I can fix that myself) I'm going to do that tomorrow
Rover656 commented 2022-08-30 22:08:05 +00:00 (Migrated from github.com)

Happy for you to fix and merge 👍

Happy for you to fix and merge 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#81
No description provided.