Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions examples/postInit/generated/factorytech_generated.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,6 @@ mods.factorytech.centrifuge.recipeBuilder()
.register()


// Circuit Scribe:
// Converts an input itemstack into an output itemstack, with the ability to control if stone parts are allowed.

mods.factorytech.circuit_scribe.removeByInput(item('factorytech:circuit_intermediate:8'))
// mods.factorytech.circuit_scribe.removeByOutput(item('factorytech:circuit_intermediate:8'))
// mods.factorytech.circuit_scribe.removeAll()

mods.factorytech.circuit_scribe.recipeBuilder()
.input(item('minecraft:clay'))
.output(item('minecraft:diamond'))
.register()

mods.factorytech.circuit_scribe.recipeBuilder()
.input(item('minecraft:gold_ingot'))
.output(item('minecraft:clay'))
.allowStoneParts()
.register()


// Compression Chamber:
// Converts an input itemstack and input fluidstack into an output itemstack.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Centrifuge recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 3);
Expand Down

This file was deleted.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe make a comment about the circuit scribe?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ public class FactoryTech extends GroovyPropertyContainer {

public final Agitator agitator = new Agitator();
public final Centrifuge centrifuge = new Centrifuge();
public final CircuitScribe circuitScribe = new CircuitScribe();
// Circuit Etcher is not supported because the Tile Entity in the mod is hardcoded
// to only accept quartz plates and output etched quartz plates, there's a recipe registry in the mod but it's not used
// https://gitlab.com/dalapo/FactoryTech/-/blob/master/src/main/java/dalapo/factech/tileentity/specialized/TileEntityCircuitScribe.java
public final Compressor compressor = new Compressor();
public final Crucible crucible = new Crucible();
public final DeepDrill deepDrill = new DeepDrill();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Grindstone recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech High Tech Furnace recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Magnet Centrifuge recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Magnetizer recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Metal Cutter recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Ore Drill recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Reclaimer recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public String getErrorMsg() {
return "Error adding Factory Tech Saw recipe";
}

@Override
protected int getMaxItemInput() {
return 1;
}

@Override
public void validate(GroovyLog.Msg msg) {
validateItems(msg, 1, 1, 1, 1);
Expand Down
4 changes: 0 additions & 4 deletions src/main/resources/assets/groovyscript/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1624,10 +1624,6 @@ groovyscript.wiki.factorytech.agitator.description=Converts either one or two in
groovyscript.wiki.factorytech.centrifuge.title=Centrifuge
groovyscript.wiki.factorytech.centrifuge.description=Converts an input itemstack into up to 3 output itemstacks, with the ability to control if stone parts are allowed.

groovyscript.wiki.factorytech.circuit_scribe.title=Circuit Scribe
groovyscript.wiki.factorytech.circuit_scribe.description=Converts an input itemstack into an output itemstack, with the ability to control if stone parts are allowed.
groovyscript.wiki.factorytech.circuit_scribe.note0=Recipes will not appear properly in JEI

groovyscript.wiki.factorytech.compressor.title=Compression Chamber
groovyscript.wiki.factorytech.compressor.description=Converts an input itemstack and input fluidstack into an output itemstack.

Expand Down