Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wet dust material type #320

Merged
merged 3 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ public class SuSyMaterialFlags {
.requireProps(new PropertyKey[]{SuSyPropertyKey.FIBER})
.build();

public static MaterialFlag GENERATE_WET_DUST = (new MaterialFlag.Builder("generate_wet_dust"))
.requireProps(new PropertyKey[]{PropertyKey.DUST})
.build();


public SuSyMaterialFlags() {}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package supersymmetry.api.unification.material.info;

import gregtech.api.unification.material.info.MaterialIconType;
import org.jetbrains.annotations.Nullable;

public class SuSyMaterialIconType {
public static MaterialIconType catalystBed = new MaterialIconType("catalystBed");
Expand All @@ -14,4 +15,5 @@ public class SuSyMaterialIconType {
public static MaterialIconType thread = new MaterialIconType("thread");
public static MaterialIconType slurry = new MaterialIconType("slurry");
public static MaterialIconType supercritical = new MaterialIconType("supercritical");
public static MaterialIconType wetDust = new MaterialIconType("wetDust");
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ public class SusyOrePrefix {
public static final OrePrefix fiber = new OrePrefix("fiber", GTValues.M / 8, null, SuSyMaterialIconType.fiber, OrePrefix.Flags.ENABLE_UNIFICATION , mat -> mat.hasFlag(SuSyMaterialFlags.GENERATE_FIBER));
public static final OrePrefix wetFiber = new OrePrefix("fiberWet", GTValues.M / 8, null, SuSyMaterialIconType.wetFiber, OrePrefix.Flags.ENABLE_UNIFICATION , mat -> mat.hasFlag(SuSyMaterialFlags.GENERATE_WET_FIBER));
public static final OrePrefix thread = new OrePrefix("thread", GTValues.M / 8, null, SuSyMaterialIconType.thread, OrePrefix.Flags.ENABLE_UNIFICATION , mat -> mat.hasFlag(SuSyMaterialFlags.GENERATE_THREAD));

// Wet dust
public static final OrePrefix wetDust = new OrePrefix("wetDust", -1, null, SuSyMaterialIconType.wetDust, OrePrefix.Flags.ENABLE_UNIFICATION , mat -> mat.hasFlag(SuSyMaterialFlags.GENERATE_WET_DUST));
Copy link
Member

Choose a reason for hiding this comment

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

I would use "dustWet" to align with convention

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gregtech:items/material_sets/dull/wet_dust"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.