-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Refractor but still broken
- Loading branch information
1 parent
8aeb8bf
commit 4686ea6
Showing
28 changed files
with
225 additions
and
124 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
src/main/java/argent_matter/gtec/common/data/GTECCompassSections.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
src/main/java/argent_matter/gtec/data/recipe/removal/RemovedRecipes.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...nt_matter/gtec/GTExtendedChemGTAddon.java → ...va/stevee/gtec/GTExtendedChemGTAddon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...atter/gtec/block/CleanroomFilterType.java → ...tevee/gtec/block/CleanroomFilterType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package argent_matter.gtec.block; | ||
package stevee.gtec.block; | ||
|
||
/* | ||
import argent_matter.gtec.GTExtendedChem; | ||
|
2 changes: 1 addition & 1 deletion
2
.../argent_matter/gtec/block/GTECBlocks.java → ...in/java/stevee/gtec/block/GTECBlocks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package argent_matter.gtec.block; | ||
package stevee.gtec.block; | ||
|
||
/* | ||
import argent_matter.gtec.GTExtendedChem; | ||
|
121 changes: 121 additions & 0 deletions
121
src/main/java/stevee/gtec/common/data/GTECCompassSections.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
package stevee.gtec.common.data; | ||
|
||
import com.gregtechceu.gtceu.api.GTValues; | ||
import com.gregtechceu.gtceu.api.data.tag.TagPrefix; | ||
import com.gregtechceu.gtceu.api.gui.GuiTextures; | ||
import com.gregtechceu.gtceu.api.item.tool.GTToolType; | ||
import com.gregtechceu.gtceu.api.registry.GTRegistries; | ||
import com.gregtechceu.gtceu.api.registry.registrate.CompassSection; | ||
|
||
import com.gregtechceu.gtceu.common.data.GTBlocks; | ||
import com.gregtechceu.gtceu.common.data.GTItems; | ||
import com.gregtechceu.gtceu.common.data.GTMachines; | ||
import com.gregtechceu.gtceu.common.data.GTMaterials; | ||
import com.lowdragmc.lowdraglib.gui.texture.ItemStackTexture; | ||
|
||
import java.util.Locale; | ||
|
||
/** | ||
* @author KilaBash | ||
* @date 2023/7/31 | ||
* @implNote GTCompassSections | ||
*/ | ||
public class GTECCompassSections { | ||
|
||
static { | ||
GTRegistries.COMPASS_SECTIONS.unfreeze(); | ||
} | ||
|
||
private static int priority = 0; | ||
|
||
public final static CompassSection INTRODUCTION = CompassSection.create("introduction") | ||
.icon(() -> GuiTextures.GREGTECH_LOGO) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection GENERATIONS = CompassSection.create("generation") | ||
.icon(() -> new ItemStackTexture(GTBlocks.MATERIAL_BLOCKS.get(TagPrefix.ore, GTMaterials.Silver).asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection COVERS = CompassSection.create("covers") | ||
.icon(() -> new ItemStackTexture(GTItems.ITEM_FILTER.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection TOOLS = CompassSection.create("tools") | ||
.icon(() -> new ItemStackTexture(GTItems.TOOL_ITEMS.get(GTMaterials.Iron, GTToolType.WRENCH).asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection MATERIALS = CompassSection.create("materials") | ||
.icon(() -> new ItemStackTexture(GTItems.MATERIAL_ITEMS.get(TagPrefix.gear, GTMaterials.Steel).asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection ITEMS = CompassSection.create("items") | ||
.icon(() -> new ItemStackTexture(GTItems.SHAPE_MOLD_INGOT.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection MISC = CompassSection.create("misc") | ||
.icon(() -> new ItemStackTexture(GTItems.COIN_GOLD_ANCIENT.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection CIRCUITS = CompassSection.create("circuits") | ||
.icon(() -> new ItemStackTexture(GTItems.ELECTRONIC_CIRCUIT_LV.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection COMPONENTS = CompassSection.create("components") | ||
.icon(() -> new ItemStackTexture(GTItems.ELECTRIC_MOTOR_LV.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection BATTERIES = CompassSection.create("batteries") | ||
.icon(() -> new ItemStackTexture(GTItems.BATTERY_HV_SODIUM.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection BLOCKS = CompassSection.create("blocks") | ||
.icon(() -> new ItemStackTexture(GTBlocks.COIL_CUPRONICKEL.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection MACHINES = CompassSection.create("machines") | ||
.icon(() -> new ItemStackTexture(GTMachines.CHEMICAL_REACTOR[GTValues.LV].asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection PARTS = CompassSection.create("parts") | ||
.icon(() -> new ItemStackTexture(GTMachines.MAINTENANCE_HATCH.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection MULTIBLOCK = CompassSection.create("multiblock") | ||
.icon(() -> new ItemStackTexture(GTMachines.ELECTRIC_BLAST_FURNACE.asStack())) | ||
.priority(priority++) | ||
.register(); | ||
public final static CompassSection STEAM = CompassSection.create("steam") | ||
.icon(() -> new ItemStackTexture(GTMachines.STEAM_SOLID_BOILER.left().asStack())) | ||
.lang("Steam Age") | ||
.priority(priority++) | ||
.register(); | ||
|
||
public final static CompassSection[] TIER = new CompassSection[10]; | ||
|
||
static { | ||
for (int i = 0; i < 10; i++) { | ||
int finalI = i; | ||
TIER[i] = CompassSection.create(GTValues.VN[i].toLowerCase(Locale.ROOT)) | ||
.icon(() -> new ItemStackTexture(GTMachines.HULL[finalI].asStack())) | ||
.background(() -> GuiTextures.DISPLAY) | ||
.lang(GTValues.VNF[i] + " Voltage") | ||
.priority(priority++) | ||
.register(); | ||
} | ||
} | ||
|
||
public static void init() {} | ||
} |
2 changes: 1 addition & 1 deletion
2
...matter/gtec/common/data/GTECElements.java → ...stevee/gtec/common/data/GTECElements.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...nt_matter/gtec/common/data/GTECItems.java → ...va/stevee/gtec/common/data/GTECItems.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
...ter/gtec/common/data/GTECRecipeTypes.java → ...vee/gtec/common/data/GTECRecipeTypes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.