Skip to content

Commit

Permalink
Remove a tautology
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Jun 15, 2024
1 parent 02426aa commit 47f0091
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

import de.mari_023.ae2wtlib.terminal.WTMenuHost;

import gripe._90.appliede.me.misc.ITransmutationTerminalHost;
import gripe._90.appliede.me.misc.TransmutationTerminalHost;

public class WTTMenuHost extends WTMenuHost implements IViewCellStorage, ITransmutationTerminalHost {
public class WTTMenuHost extends WTMenuHost implements IViewCellStorage, TransmutationTerminalHost {
private final IGrid targetGrid;
private boolean shiftToTransmute;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import appeng.api.networking.security.IActionHost;
import appeng.api.storage.ITerminalHost;

public interface ITransmutationTerminalHost extends ITerminalHost, IActionHost {
public interface TransmutationTerminalHost extends ITerminalHost, IActionHost {
boolean getShiftToTransmute();

void setShiftToTransmute(boolean toggle);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
import appeng.menu.me.common.MEStorageMenu;
import appeng.menu.slot.FakeSlot;

import gripe._90.appliede.me.misc.ITransmutationTerminalHost;
import gripe._90.appliede.me.misc.TransmutationTerminalHost;
import gripe._90.appliede.me.service.KnowledgeService;

public class TransmutationTerminalMenu extends MEStorageMenu {
public static final MenuType<TransmutationTerminalMenu> TYPE = MenuTypeBuilder.create(
TransmutationTerminalMenu::new, ITransmutationTerminalHost.class)
TransmutationTerminalMenu::new, TransmutationTerminalHost.class)
.build("transmutation_terminal");
protected static final SlotSemantic TRANSMUTE = SlotSemantics.register("APPLIEDE_TRANSMUTE", false);

private static final String ACTION_SET_SHIFT = "setShiftDestination";
private static final String ACTION_HIDE_LEARNED = "hideLearnedText";

private final ITransmutationTerminalHost host;
private final TransmutationTerminalHost host;
private final Slot transmuteSlot = new FakeSlot(InternalInventory.empty(), 0);

@GuiSync(1)
Expand All @@ -40,12 +40,12 @@ public class TransmutationTerminalMenu extends MEStorageMenu {
@GuiSync(2)
public int learnedLabelTicks;

public TransmutationTerminalMenu(int id, Inventory ip, ITransmutationTerminalHost host) {
public TransmutationTerminalMenu(int id, Inventory ip, TransmutationTerminalHost host) {
this(TYPE, id, ip, host, true);
}

public TransmutationTerminalMenu(
MenuType<?> menuType, int id, Inventory ip, ITransmutationTerminalHost host, boolean bindInventory) {
MenuType<?> menuType, int id, Inventory ip, TransmutationTerminalHost host, boolean bindInventory) {
super(menuType, id, ip, host, bindInventory);
this.host = host;
registerClientAction(ACTION_SET_SHIFT, Boolean.class, host::setShiftToTransmute);
Expand Down Expand Up @@ -139,7 +139,7 @@ public void broadcastChanges() {
}

@Override
public ITransmutationTerminalHost getHost() {
public TransmutationTerminalHost getHost() {
return host;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
import appeng.parts.reporting.AbstractTerminalPart;

import gripe._90.appliede.AppliedE;
import gripe._90.appliede.me.misc.ITransmutationTerminalHost;
import gripe._90.appliede.me.misc.TransmutationTerminalHost;
import gripe._90.appliede.menu.TransmutationTerminalMenu;

public class TransmutationTerminalPart extends AbstractTerminalPart implements ITransmutationTerminalHost {
public class TransmutationTerminalPart extends AbstractTerminalPart implements TransmutationTerminalHost {
@PartModels
public static final ResourceLocation MODEL_OFF = AppliedE.id("part/transmutation_terminal_off");

Expand Down

0 comments on commit 47f0091

Please sign in to comment.