mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-28 19:39:22 +00:00
@@ -835,6 +835,9 @@ public final class LeavesConfig {
|
||||
|
||||
@GlobalConfig("rei-server-protocol")
|
||||
public boolean reiServerProtocol = false;
|
||||
|
||||
@GlobalConfig("recipe-send-all")
|
||||
public boolean recipeSendAll = false;
|
||||
}
|
||||
|
||||
public static MiscConfig mics = new MiscConfig();
|
||||
|
||||
@@ -35,6 +35,7 @@ import java.util.Set;
|
||||
import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarFile;
|
||||
|
||||
// TODO refactor
|
||||
public class LeavesProtocolManager {
|
||||
|
||||
private static final Class<?>[] PAYLOAD_PARAMETER_TYPES = {ResourceLocation.class, FriendlyByteBuf.class};
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.leavesmc.leaves.protocol.rei.payload.CreateItemHotbarPayload;
|
||||
import org.leavesmc.leaves.protocol.rei.payload.CreateItemMessagePayload;
|
||||
import org.leavesmc.leaves.protocol.rei.payload.CreateItemPayload;
|
||||
|
||||
@LeavesProtocol(namespace = "roughlyenoughitems")
|
||||
// @LeavesProtocol(namespace = "roughlyenoughitems") TODO will fix
|
||||
public class REIServerProtocol {
|
||||
|
||||
public static final String PROTOCOL_ID = "roughlyenoughitems";
|
||||
|
||||
Reference in New Issue
Block a user