diff --git a/src/generators/java/mekanism/generators/common/tile/fusion/TileEntityFusionReactorLogicAdapter.java b/src/generators/java/mekanism/generators/common/tile/fusion/TileEntityFusionReactorLogicAdapter.java index c4048656ff0..e724bc59aac 100644 --- a/src/generators/java/mekanism/generators/common/tile/fusion/TileEntityFusionReactorLogicAdapter.java +++ b/src/generators/java/mekanism/generators/common/tile/fusion/TileEntityFusionReactorLogicAdapter.java @@ -126,11 +126,6 @@ protected void applyImplicitComponents(@NotNull BlockEntity.DataComponentInput i activeCooled = input.getOrDefault(GeneratorsDataComponents.ACTIVE_COOLED, activeCooled); } - @Override - public boolean canBeMaster() { - return false; - } - @Override public void nextMode() { activeCooled = !activeCooled; diff --git a/src/main/java/mekanism/common/inventory/container/slot/InsertableSlot.java b/src/main/java/mekanism/common/inventory/container/slot/InsertableSlot.java index 70d324dbf54..176b8bdd415 100644 --- a/src/main/java/mekanism/common/inventory/container/slot/InsertableSlot.java +++ b/src/main/java/mekanism/common/inventory/container/slot/InsertableSlot.java @@ -4,7 +4,6 @@ import net.minecraft.world.Container; import net.minecraft.world.inventory.Slot; import net.minecraft.world.item.ItemStack; -import net.neoforged.neoforge.items.ItemHandlerHelper; import org.jetbrains.annotations.NotNull; public class InsertableSlot extends Slot implements IInsertableSlot { @@ -13,11 +12,6 @@ public InsertableSlot(Container inventory, int index, int x, int y) { super(inventory, index, x, y); } - @Override - public int getMaxStackSize(ItemStack stack) { - return Math.min(getMaxStackSize(), stack.getMaxStackSize()); - } - @NotNull @Override public ItemStack insertItem(@NotNull ItemStack stack, Action action) { diff --git a/src/main/java/mekanism/common/recipe/ingredient/chemical/MultiChemicalStackIngredient.java b/src/main/java/mekanism/common/recipe/ingredient/chemical/MultiChemicalStackIngredient.java index 36e3e817ddf..8e981d20829 100644 --- a/src/main/java/mekanism/common/recipe/ingredient/chemical/MultiChemicalStackIngredient.java +++ b/src/main/java/mekanism/common/recipe/ingredient/chemical/MultiChemicalStackIngredient.java @@ -12,7 +12,6 @@ import mekanism.api.chemical.ChemicalStack; import mekanism.api.chemical.gas.Gas; import mekanism.api.chemical.gas.GasStack; -import mekanism.api.chemical.infuse.IEmptyInfusionProvider; import mekanism.api.chemical.infuse.InfuseType; import mekanism.api.chemical.infuse.InfusionStack; import mekanism.api.chemical.pigment.Pigment; @@ -184,7 +183,7 @@ public MultiGasStackIngredient(List ingredients) { } public static class MultiInfusionStackIngredient extends MultiChemicalStackIngredient implements - InfusionStackIngredient, IEmptyInfusionProvider { + InfusionStackIngredient { //This must be lazy as the base stream codec isn't initialized until after this line happens public static final StreamCodec STREAM_CODEC = NeoForgeStreamCodecs.lazy(() ->