From 8020de1298fa32ea5345fd1d617ee3b6d4b9bde4 Mon Sep 17 00:00:00 2001 From: Swedz Date: Wed, 25 Sep 2024 17:03:07 -0400 Subject: [PATCH] Expand machine api visibility (#19) --- .../multiblock/BasicMultiblockMachineBlockEntity.java | 4 ++-- .../AbstractSteamMultipliedCraftingMultiblockBlockEntity.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/BasicMultiblockMachineBlockEntity.java b/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/BasicMultiblockMachineBlockEntity.java index 8f30c088..8e86e0c8 100644 --- a/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/BasicMultiblockMachineBlockEntity.java +++ b/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/BasicMultiblockMachineBlockEntity.java @@ -17,7 +17,7 @@ public abstract class BasicMultiblockMachineBlockEntity extends MultiblockMachineBlockEntity implements Tickable, MultiblockInventoryComponentHolder { - private ShapeMatcher shapeMatcher; + protected ShapeMatcher shapeMatcher; protected OperatingState operatingState = OperatingState.NOT_MATCHED; @@ -64,7 +64,7 @@ public void tick() this.link(); } - private void link() + protected void link() { if(shapeMatcher == null) { diff --git a/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/multiplied/AbstractSteamMultipliedCraftingMultiblockBlockEntity.java b/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/multiplied/AbstractSteamMultipliedCraftingMultiblockBlockEntity.java index 3627b6a8..434e2fe3 100644 --- a/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/multiplied/AbstractSteamMultipliedCraftingMultiblockBlockEntity.java +++ b/src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/blockentity/multiblock/multiplied/AbstractSteamMultipliedCraftingMultiblockBlockEntity.java @@ -25,7 +25,7 @@ public abstract class AbstractSteamMultipliedCraftingMultiblockBlockEntity exten { protected final OverclockComponent overclock; - private boolean steel; + protected boolean steel; public AbstractSteamMultipliedCraftingMultiblockBlockEntity(BEP bep, ResourceLocation id, ShapeTemplate[] shapeTemplates, List overclockCatalysts)