From 829468755bd4a5c43f383aa7242dfc8837956e5c Mon Sep 17 00:00:00 2001 From: Vos Date: Sun, 23 Nov 2025 18:28:03 -0600 Subject: [PATCH] Stabilizer now does it thang --- .../acesbs/compat/EntropicStabilizerCategory.java | 4 ++++ .../acesbs/datagen/ModRecipeProvider.java | 10 +++++----- ...table_endtropy_from_ore_in_entropic_stabilizer.json | 10 ++++++++++ ...stable_entropy_from_ore_in_entropic_stabilizer.json | 10 ++++++++++ 4 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/data/acesbs/recipe/stable_endtropy_from_ore_in_entropic_stabilizer.json create mode 100644 src/main/resources/data/acesbs/recipe/stable_entropy_from_ore_in_entropic_stabilizer.json diff --git a/src/main/java/com/acethewildfire/acesbs/compat/EntropicStabilizerCategory.java b/src/main/java/com/acethewildfire/acesbs/compat/EntropicStabilizerCategory.java index fbe1513..913e2da 100644 --- a/src/main/java/com/acethewildfire/acesbs/compat/EntropicStabilizerCategory.java +++ b/src/main/java/com/acethewildfire/acesbs/compat/EntropicStabilizerCategory.java @@ -10,11 +10,14 @@ import me.shedaniel.rei.api.client.gui.widgets.Widgets; import me.shedaniel.rei.api.client.registry.display.DisplayCategory; import me.shedaniel.rei.api.common.category.CategoryIdentifier; import me.shedaniel.rei.api.common.display.basic.BasicDisplay; +import me.shedaniel.rei.api.common.entry.EntryIngredient; import me.shedaniel.rei.api.common.entry.EntryStack; import me.shedaniel.rei.api.common.util.EntryStacks; +import net.minecraft.item.Items; import net.minecraft.text.Text; import net.minecraft.util.Identifier; +import java.util.ArrayList; import java.util.LinkedList; import java.util.List; @@ -48,6 +51,7 @@ public class EntropicStabilizerCategory implements DisplayCategory widgets.add(Widgets.createTexturedWidget(GUI_TEXTURE, new Rectangle(startPoint.x, startPoint.y, 175, 82))); widgets.add(Widgets.createSlot(new Point(startPoint.x + 56, startPoint.y + 17)).entries(display.getInputEntries().get(0)).markInput()); + widgets.add(Widgets.createSlot(new Point(startPoint.x + 56, startPoint.y + 53)).entries(EntryIngredient.of(EntryStacks.of(Items.SNOWBALL)))); widgets.add(Widgets.createSlot(new Point(startPoint.x + 116, startPoint.y + 35)).entries(display.getOutputEntries().get(0)).markOutput()); return widgets; diff --git a/src/main/java/com/acethewildfire/acesbs/datagen/ModRecipeProvider.java b/src/main/java/com/acethewildfire/acesbs/datagen/ModRecipeProvider.java index 6c29ad7..54553c2 100644 --- a/src/main/java/com/acethewildfire/acesbs/datagen/ModRecipeProvider.java +++ b/src/main/java/com/acethewildfire/acesbs/datagen/ModRecipeProvider.java @@ -28,11 +28,11 @@ public class ModRecipeProvider extends FabricRecipeProvider { @Override public void generate(RecipeExporter recipeExporter) { - List ENTROPY_SMELTABLES = List.of(ModItems.RAW_ENTROPY, ModBlocks.ENTROPY_ORE, ModBlocks.DEEPSLATE_ENTROPY_ORE); - List ENDTROPY_SMELTABLES = List.of(ModItems.RAW_ENDTROPY, ModBlocks.ENDTROPY_ORE); - - offerBlasting(recipeExporter, ENTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENTROPY, 0.5f, 2000, "stable_entropy"); - offerBlasting(recipeExporter, ENDTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENDTROPY, 0.5f, 2000, "stable_endtropy"); +// List ENTROPY_SMELTABLES = List.of(ModItems.RAW_ENTROPY, ModBlocks.ENTROPY_ORE, ModBlocks.DEEPSLATE_ENTROPY_ORE); +// List ENDTROPY_SMELTABLES = List.of(ModItems.RAW_ENDTROPY, ModBlocks.ENDTROPY_ORE); +// +// offerBlasting(recipeExporter, ENTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENTROPY, 0.5f, 2000, "stable_entropy"); +// offerBlasting(recipeExporter, ENDTROPY_SMELTABLES, RecipeCategory.MISC, ModItems.STABLE_ENDTROPY, 0.5f, 2000, "stable_endtropy"); offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.RAW_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.ENTROPY_BLOCK); offerReversibleCompactingRecipes(recipeExporter, RecipeCategory.BUILDING_BLOCKS, ModItems.STABLE_ENTROPY, RecipeCategory.DECORATIONS, ModBlocks.STABLE_ENTROPY_BLOCK); diff --git a/src/main/resources/data/acesbs/recipe/stable_endtropy_from_ore_in_entropic_stabilizer.json b/src/main/resources/data/acesbs/recipe/stable_endtropy_from_ore_in_entropic_stabilizer.json new file mode 100644 index 0000000..ff3e07c --- /dev/null +++ b/src/main/resources/data/acesbs/recipe/stable_endtropy_from_ore_in_entropic_stabilizer.json @@ -0,0 +1,10 @@ +{ + "type": "acesbs:entropic_stabilizer", + "ingredient": { + "item": "acesbs:endtropy_ore" + }, + "result": { + "count": 1, + "id": "acesbs:stable_endtropy" + } +} \ No newline at end of file diff --git a/src/main/resources/data/acesbs/recipe/stable_entropy_from_ore_in_entropic_stabilizer.json b/src/main/resources/data/acesbs/recipe/stable_entropy_from_ore_in_entropic_stabilizer.json new file mode 100644 index 0000000..90bd9ff --- /dev/null +++ b/src/main/resources/data/acesbs/recipe/stable_entropy_from_ore_in_entropic_stabilizer.json @@ -0,0 +1,10 @@ +{ + "type": "acesbs:entropic_stabilizer", + "ingredient": { + "item": "acesbs:entropy_ore" + }, + "result": { + "count": 1, + "id": "acesbs:stable_entropy" + } +} \ No newline at end of file