diff --git a/src/main/java/gripe/_90/appliede/integration/ae2wtlib/WTTMenuHost.java b/src/main/java/gripe/_90/appliede/integration/ae2wtlib/WTTMenuHost.java index 76a38d8..8e53bfb 100644 --- a/src/main/java/gripe/_90/appliede/integration/ae2wtlib/WTTMenuHost.java +++ b/src/main/java/gripe/_90/appliede/integration/ae2wtlib/WTTMenuHost.java @@ -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; diff --git a/src/main/java/gripe/_90/appliede/me/misc/ITransmutationTerminalHost.java b/src/main/java/gripe/_90/appliede/me/misc/TransmutationTerminalHost.java similarity index 80% rename from src/main/java/gripe/_90/appliede/me/misc/ITransmutationTerminalHost.java rename to src/main/java/gripe/_90/appliede/me/misc/TransmutationTerminalHost.java index 3ad0f2e..4e18dd0 100644 --- a/src/main/java/gripe/_90/appliede/me/misc/ITransmutationTerminalHost.java +++ b/src/main/java/gripe/_90/appliede/me/misc/TransmutationTerminalHost.java @@ -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); diff --git a/src/main/java/gripe/_90/appliede/menu/TransmutationTerminalMenu.java b/src/main/java/gripe/_90/appliede/menu/TransmutationTerminalMenu.java index 5a2d584..c00e6e7 100644 --- a/src/main/java/gripe/_90/appliede/menu/TransmutationTerminalMenu.java +++ b/src/main/java/gripe/_90/appliede/menu/TransmutationTerminalMenu.java @@ -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 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) @@ -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); @@ -139,7 +139,7 @@ public void broadcastChanges() { } @Override - public ITransmutationTerminalHost getHost() { + public TransmutationTerminalHost getHost() { return host; } } diff --git a/src/main/java/gripe/_90/appliede/part/TransmutationTerminalPart.java b/src/main/java/gripe/_90/appliede/part/TransmutationTerminalPart.java index 5565dfb..5c346fe 100644 --- a/src/main/java/gripe/_90/appliede/part/TransmutationTerminalPart.java +++ b/src/main/java/gripe/_90/appliede/part/TransmutationTerminalPart.java @@ -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");