Prevent items moving while scrolling through slots with Inventory Sorter in the Crafter Manager
This commit is contained in:
@@ -39,7 +39,7 @@ public interface ICraftingPatternContainer {
|
||||
/**
|
||||
* The name of this container for categorizing in the Crafting Manager GUI.
|
||||
* Can be a localized or unlocalized name.
|
||||
* If it's unlocalized, it will automatically format the name.
|
||||
* If it's unlocalized, it will automatically localize the name.
|
||||
*
|
||||
* @return the name of this container
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.raoulvdberge.refinedstorage.integration.inventorysorter;
|
||||
|
||||
import net.minecraftforge.fml.common.event.FMLInterModComms;
|
||||
|
||||
public class IntegrationInventorySorter {
|
||||
public static void register() {
|
||||
// Prevent items moving while scrolling through slots with Inventory Sorter in the Crafter Manager
|
||||
FMLInterModComms.sendMessage("inventorysorter", "slotblacklist", "com.raoulvdberge.refinedstorage.container.slot.SlotCrafterManager");
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,7 @@ import com.raoulvdberge.refinedstorage.integration.craftingtweaks.IntegrationCra
|
||||
import com.raoulvdberge.refinedstorage.integration.forgeenergy.ReaderWriterHandlerForgeEnergy;
|
||||
import com.raoulvdberge.refinedstorage.integration.funkylocomotion.IntegrationFunkyLocomotion;
|
||||
import com.raoulvdberge.refinedstorage.integration.funkylocomotion.MoveFactoryRegisterer;
|
||||
import com.raoulvdberge.refinedstorage.integration.inventorysorter.IntegrationInventorySorter;
|
||||
import com.raoulvdberge.refinedstorage.integration.oc.DriverNetwork;
|
||||
import com.raoulvdberge.refinedstorage.integration.oc.IntegrationOC;
|
||||
import com.raoulvdberge.refinedstorage.integration.projecte.IntegrationProjectE;
|
||||
@@ -264,6 +265,8 @@ public class ProxyCommon {
|
||||
if (IntegrationProjectE.isLoaded()) {
|
||||
IntegrationProjectE.register();
|
||||
}
|
||||
|
||||
IntegrationInventorySorter.register();
|
||||
}
|
||||
|
||||
public void postInit(FMLPostInitializationEvent e) {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"item": "#advanced_processor"
|
||||
},
|
||||
"C": {
|
||||
"item": "minecraft:chest"
|
||||
"item": "refinedstorage:crafter"
|
||||
},
|
||||
"G": {
|
||||
"type": "forge:ore_dict",
|
||||
|
||||
Reference in New Issue
Block a user