From a59f736429569abae4cf7a5a3fbd4abe8bf59c28 Mon Sep 17 00:00:00 2001 From: lothrazar Date: Sun, 1 Dec 2024 15:01:36 -0800 Subject: [PATCH] postpone and silence unused recipe and loot table --- .../block/cable/export/ScreenCableExportFilter.java | 2 +- .../block/cable/inputfilter/ScreenCableImportFilter.java | 2 +- .../com/lothrazar/storagenetwork/block/main/TileMain.java | 6 +++++- .../capability/CapabilityConnectableProcessing.java | 1 - .../item/remote/ContainerNetworkExpandedRemote.java | 6 +++--- .../blocks/{process_kabel.json => process_kabel.json.txt} | 0 .../recipes/{process_kabel.json => process_kabel.json.txt} | 0 7 files changed, 10 insertions(+), 7 deletions(-) rename src/main/resources/data/storagenetwork/loot_tables/blocks/{process_kabel.json => process_kabel.json.txt} (100%) rename src/main/resources/data/storagenetwork/recipes/{process_kabel.json => process_kabel.json.txt} (100%) diff --git a/src/main/java/com/lothrazar/storagenetwork/block/cable/export/ScreenCableExportFilter.java b/src/main/java/com/lothrazar/storagenetwork/block/cable/export/ScreenCableExportFilter.java index e7456c3d..202f1f46 100644 --- a/src/main/java/com/lothrazar/storagenetwork/block/cable/export/ScreenCableExportFilter.java +++ b/src/main/java/com/lothrazar/storagenetwork/block/cable/export/ScreenCableExportFilter.java @@ -9,8 +9,8 @@ import com.lothrazar.storagenetwork.block.cable.inputfilter.ScreenCableImportFilter; import com.lothrazar.storagenetwork.capability.handler.FilterItemStackHandler; import com.lothrazar.storagenetwork.gui.components.ButtonRequest; -import com.lothrazar.storagenetwork.gui.components.TextboxInteger; import com.lothrazar.storagenetwork.gui.components.ButtonRequest.TextureEnum; +import com.lothrazar.storagenetwork.gui.components.TextboxInteger; import com.lothrazar.storagenetwork.gui.slot.ItemSlotNetwork; import com.lothrazar.storagenetwork.network.CableIOMessage; import com.lothrazar.storagenetwork.registry.ClientEventRegistry; diff --git a/src/main/java/com/lothrazar/storagenetwork/block/cable/inputfilter/ScreenCableImportFilter.java b/src/main/java/com/lothrazar/storagenetwork/block/cable/inputfilter/ScreenCableImportFilter.java index d247bcc0..069e7fa4 100644 --- a/src/main/java/com/lothrazar/storagenetwork/block/cable/inputfilter/ScreenCableImportFilter.java +++ b/src/main/java/com/lothrazar/storagenetwork/block/cable/inputfilter/ScreenCableImportFilter.java @@ -8,8 +8,8 @@ import com.lothrazar.storagenetwork.api.OpCompareType; import com.lothrazar.storagenetwork.capability.handler.FilterItemStackHandler; import com.lothrazar.storagenetwork.gui.components.ButtonRequest; -import com.lothrazar.storagenetwork.gui.components.TextboxInteger; import com.lothrazar.storagenetwork.gui.components.ButtonRequest.TextureEnum; +import com.lothrazar.storagenetwork.gui.components.TextboxInteger; import com.lothrazar.storagenetwork.gui.slot.ItemSlotNetwork; import com.lothrazar.storagenetwork.network.CableIOMessage; import com.lothrazar.storagenetwork.registry.ClientEventRegistry; diff --git a/src/main/java/com/lothrazar/storagenetwork/block/main/TileMain.java b/src/main/java/com/lothrazar/storagenetwork/block/main/TileMain.java index c62fa9b8..31ee5ecc 100644 --- a/src/main/java/com/lothrazar/storagenetwork/block/main/TileMain.java +++ b/src/main/java/com/lothrazar/storagenetwork/block/main/TileMain.java @@ -1,7 +1,11 @@ package com.lothrazar.storagenetwork.block.main; import com.lothrazar.storagenetwork.StorageNetworkMod; -import com.lothrazar.storagenetwork.api.*; +import com.lothrazar.storagenetwork.api.DimPos; +import com.lothrazar.storagenetwork.api.EnumStorageDirection; +import com.lothrazar.storagenetwork.api.IConnectable; +import com.lothrazar.storagenetwork.api.IConnectableItemAutoIO; +import com.lothrazar.storagenetwork.api.IConnectableItemProcessing; import com.lothrazar.storagenetwork.capability.handler.ItemStackMatcher; import com.lothrazar.storagenetwork.registry.SsnRegistry; import com.lothrazar.storagenetwork.registry.StorageNetworkCapabilities; diff --git a/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java b/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java index 8d6870ac..4c3554f7 100644 --- a/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java +++ b/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java @@ -15,7 +15,6 @@ public class CapabilityConnectableProcessing implements INBTSerializable, IConnectableItemProcessing { - public static class Factory implements Callable { @Override diff --git a/src/main/java/com/lothrazar/storagenetwork/item/remote/ContainerNetworkExpandedRemote.java b/src/main/java/com/lothrazar/storagenetwork/item/remote/ContainerNetworkExpandedRemote.java index 43fa4692..7e35d168 100644 --- a/src/main/java/com/lothrazar/storagenetwork/item/remote/ContainerNetworkExpandedRemote.java +++ b/src/main/java/com/lothrazar/storagenetwork/item/remote/ContainerNetworkExpandedRemote.java @@ -1,5 +1,8 @@ package com.lothrazar.storagenetwork.item.remote; +import java.util.HashMap; +import java.util.Map; +import org.apache.commons.lang3.tuple.Triple; import com.lothrazar.storagenetwork.StorageNetworkMod; import com.lothrazar.storagenetwork.api.DimPos; import com.lothrazar.storagenetwork.block.main.TileMain; @@ -12,9 +15,6 @@ import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.ItemStack; -import org.apache.commons.lang3.tuple.Triple; -import java.util.HashMap; -import java.util.Map; public class ContainerNetworkExpandedRemote extends ContainerNetwork { diff --git a/src/main/resources/data/storagenetwork/loot_tables/blocks/process_kabel.json b/src/main/resources/data/storagenetwork/loot_tables/blocks/process_kabel.json.txt similarity index 100% rename from src/main/resources/data/storagenetwork/loot_tables/blocks/process_kabel.json rename to src/main/resources/data/storagenetwork/loot_tables/blocks/process_kabel.json.txt diff --git a/src/main/resources/data/storagenetwork/recipes/process_kabel.json b/src/main/resources/data/storagenetwork/recipes/process_kabel.json.txt similarity index 100% rename from src/main/resources/data/storagenetwork/recipes/process_kabel.json rename to src/main/resources/data/storagenetwork/recipes/process_kabel.json.txt