Skip to content

Commit f06e6e5

Browse files
committed
Remove some methods overrides that are the same as the super one
1 parent 4748215 commit f06e6e5

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

src/generators/java/mekanism/generators/common/tile/fusion/TileEntityFusionReactorLogicAdapter.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,6 @@ protected void applyImplicitComponents(@NotNull BlockEntity.DataComponentInput i
126126
activeCooled = input.getOrDefault(GeneratorsDataComponents.ACTIVE_COOLED, activeCooled);
127127
}
128128

129-
@Override
130-
public boolean canBeMaster() {
131-
return false;
132-
}
133-
134129
@Override
135130
public void nextMode() {
136131
activeCooled = !activeCooled;

src/main/java/mekanism/common/inventory/container/slot/InsertableSlot.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import net.minecraft.world.Container;
55
import net.minecraft.world.inventory.Slot;
66
import net.minecraft.world.item.ItemStack;
7-
import net.neoforged.neoforge.items.ItemHandlerHelper;
87
import org.jetbrains.annotations.NotNull;
98

109
public class InsertableSlot extends Slot implements IInsertableSlot {
@@ -13,11 +12,6 @@ public InsertableSlot(Container inventory, int index, int x, int y) {
1312
super(inventory, index, x, y);
1413
}
1514

16-
@Override
17-
public int getMaxStackSize(ItemStack stack) {
18-
return Math.min(getMaxStackSize(), stack.getMaxStackSize());
19-
}
20-
2115
@NotNull
2216
@Override
2317
public ItemStack insertItem(@NotNull ItemStack stack, Action action) {

src/main/java/mekanism/common/recipe/ingredient/chemical/MultiChemicalStackIngredient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import mekanism.api.chemical.ChemicalStack;
1313
import mekanism.api.chemical.gas.Gas;
1414
import mekanism.api.chemical.gas.GasStack;
15-
import mekanism.api.chemical.infuse.IEmptyInfusionProvider;
1615
import mekanism.api.chemical.infuse.InfuseType;
1716
import mekanism.api.chemical.infuse.InfusionStack;
1817
import mekanism.api.chemical.pigment.Pigment;
@@ -184,7 +183,7 @@ public MultiGasStackIngredient(List<GasStackIngredient> ingredients) {
184183
}
185184

186185
public static class MultiInfusionStackIngredient extends MultiChemicalStackIngredient<InfuseType, InfusionStack, InfusionStackIngredient> implements
187-
InfusionStackIngredient, IEmptyInfusionProvider {
186+
InfusionStackIngredient {
188187

189188
//This must be lazy as the base stream codec isn't initialized until after this line happens
190189
public static final StreamCodec<RegistryFriendlyByteBuf, MultiInfusionStackIngredient> STREAM_CODEC = NeoForgeStreamCodecs.lazy(() ->

0 commit comments

Comments
 (0)