diff --git a/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalHost.java b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalHost.java new file mode 100644 index 0000000..baaade1 --- /dev/null +++ b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalHost.java @@ -0,0 +1,3 @@ +package com.almostreliable.merequester.terminal; + +public interface RequesterTerminalHost {} diff --git a/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalMenu.java b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalMenu.java index a7416d9..d95d9c9 100644 --- a/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalMenu.java +++ b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalMenu.java @@ -32,7 +32,7 @@ public class RequesterTerminalMenu extends AbstractRequesterMenu { public static final MenuType TYPE = MenuTypeBuilder - .create(RequesterTerminalMenu::new, RequesterTerminalPart.class) + .create(RequesterTerminalMenu::new, RequesterTerminalHost.class) .build(Utils.getRL(MERequester.TERMINAL_ID)); private final Long2ObjectOpenHashMap byId = new Long2ObjectOpenHashMap<>(); diff --git a/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalPart.java b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalPart.java index 49da429..5986e5d 100644 --- a/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalPart.java +++ b/src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalPart.java @@ -19,7 +19,7 @@ /** * yoinked from {@link PatternAccessTerminalPart} */ -public class RequesterTerminalPart extends AbstractDisplayPart { +public class RequesterTerminalPart extends AbstractDisplayPart implements RequesterTerminalHost { @PartModels private static final ResourceLocation MODEL_OFF = Utils.getRL(String.format("part/%s_off", MERequester.TERMINAL_ID));