From 0ef0f8b21df4b9a603aaa2ab4a35d395ef6437c1 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 22 Oct 2022 01:11:04 +0800 Subject: Make it not crash --- .../rei/impl/client/gui/InternalTextures.java | 1 + .../rei/impl/common/networking/NetworkModule.java | 43 ---------------------- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java (limited to 'shared-internals/src/main/java/me') diff --git a/shared-internals/src/main/java/me/shedaniel/rei/impl/client/gui/InternalTextures.java b/shared-internals/src/main/java/me/shedaniel/rei/impl/client/gui/InternalTextures.java index 24740427d..4ab5c6961 100644 --- a/shared-internals/src/main/java/me/shedaniel/rei/impl/client/gui/InternalTextures.java +++ b/shared-internals/src/main/java/me/shedaniel/rei/impl/client/gui/InternalTextures.java @@ -34,4 +34,5 @@ public class InternalTextures { public static final ResourceLocation CHEST_GUI_TEXTURE_DARK = new ResourceLocation("roughlyenoughitems", "textures/gui/recipecontainer_dark.png"); public static final ResourceLocation DISPLAY_TEXTURE = new ResourceLocation("roughlyenoughitems", "textures/gui/display.png"); public static final ResourceLocation DISPLAY_TEXTURE_DARK = new ResourceLocation("roughlyenoughitems", "textures/gui/display_dark.png"); + public static final ResourceLocation TOASTS = new ResourceLocation("roughlyenoughitems", "textures/gui/toasts.png"); } diff --git a/shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java b/shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java deleted file mode 100644 index 72ab29c8c..000000000 --- a/shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * This file is licensed under the MIT License, part of Roughly Enough Items. - * Copyright (c) 2018, 2019, 2020, 2021, 2022 shedaniel - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package me.shedaniel.rei.impl.common.networking; - -import org.jetbrains.annotations.ApiStatus; - -@ApiStatus.Internal -public interface NetworkModule { - Object DELETE = new Object(); - Object CREATE = new Object(); - Object CREATE_HOTBAR = new Object(); - Object CREATE_GRAB = new Object(); - Object CREATE_MSG = new Object(); - Object NOT_ENOUGH_ITEMS = new Object(); - Object TRANSFER = new Object(); - - Object getKey(); - - boolean canUse(); - - void onInitialize(); -} -- cgit