diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-08-06 10:37:38 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-08-26 10:54:44 +0900 |
| commit | d3bfd79800aacfde6617d5430ead5fdda0a506fe (patch) | |
| tree | b8420034448bd3193c7f541f47a6387a9772d99f /shared-internals/src/main/java/me | |
| parent | 8c13c015031a0de865d2e767cd8e879754f803e2 (diff) | |
| download | RoughlyEnoughItems-d3bfd79800aacfde6617d5430ead5fdda0a506fe.tar.gz RoughlyEnoughItems-d3bfd79800aacfde6617d5430ead5fdda0a506fe.tar.bz2 RoughlyEnoughItems-d3bfd79800aacfde6617d5430ead5fdda0a506fe.zip | |
More work okay
Diffstat (limited to 'shared-internals/src/main/java/me')
| -rw-r--r-- | shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java | 43 |
1 files changed, 43 insertions, 0 deletions
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 new file mode 100644 index 000000000..72ab29c8c --- /dev/null +++ b/shared-internals/src/main/java/me/shedaniel/rei/impl/common/networking/NetworkModule.java @@ -0,0 +1,43 @@ +/* + * 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(); +} |
