Class StorageConfigurationContainerImpl
java.lang.Object
com.refinedmods.refinedstorage.common.storage.StorageConfigurationContainerImpl
- All Implemented Interfaces:
StorageConfigurationContainer
public final class StorageConfigurationContainerImpl
extends Object
implements StorageConfigurationContainer
-
Constructor Summary
ConstructorDescriptionStorageConfigurationContainerImpl
(com.refinedmods.refinedstorage.api.network.impl.storage.StorageConfiguration config, FilterWithFuzzyMode filter, Runnable listener, Supplier<RedstoneMode> redstoneModeSupplier, Consumer<RedstoneMode> redstoneModeConsumer) -
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
load
(net.minecraft.nbt.CompoundTag tag) void
save
(net.minecraft.nbt.CompoundTag tag) void
setAccessMode
(AccessMode accessMode) void
setExtractPriority
(int extractPriority) void
setFilterMode
(FilterMode filterMode) void
setFuzzyMode
(boolean fuzzyMode) void
setInsertPriority
(int insertPriority) void
setRedstoneMode
(RedstoneMode redstoneMode) void
setVoidExcess
(boolean voidExcess)
-
Constructor Details
-
StorageConfigurationContainerImpl
public StorageConfigurationContainerImpl(com.refinedmods.refinedstorage.api.network.impl.storage.StorageConfiguration config, FilterWithFuzzyMode filter, Runnable listener, Supplier<RedstoneMode> redstoneModeSupplier, Consumer<RedstoneMode> redstoneModeConsumer)
-
-
Method Details
-
load
public void load(net.minecraft.nbt.CompoundTag tag) -
save
public void save(net.minecraft.nbt.CompoundTag tag) -
getInsertPriority
public int getInsertPriority()- Specified by:
getInsertPriority
in interfaceStorageConfigurationContainer
-
setInsertPriority
public void setInsertPriority(int insertPriority) - Specified by:
setInsertPriority
in interfaceStorageConfigurationContainer
-
getExtractPriority
public int getExtractPriority()- Specified by:
getExtractPriority
in interfaceStorageConfigurationContainer
-
setExtractPriority
public void setExtractPriority(int extractPriority) - Specified by:
setExtractPriority
in interfaceStorageConfigurationContainer
-
getFilterMode
- Specified by:
getFilterMode
in interfaceStorageConfigurationContainer
-
setFilterMode
- Specified by:
setFilterMode
in interfaceStorageConfigurationContainer
-
isFuzzyMode
public boolean isFuzzyMode()- Specified by:
isFuzzyMode
in interfaceStorageConfigurationContainer
-
setFuzzyMode
public void setFuzzyMode(boolean fuzzyMode) - Specified by:
setFuzzyMode
in interfaceStorageConfigurationContainer
-
getAccessMode
- Specified by:
getAccessMode
in interfaceStorageConfigurationContainer
-
setAccessMode
- Specified by:
setAccessMode
in interfaceStorageConfigurationContainer
-
isVoidExcess
public boolean isVoidExcess()- Specified by:
isVoidExcess
in interfaceStorageConfigurationContainer
-
setVoidExcess
public void setVoidExcess(boolean voidExcess) - Specified by:
setVoidExcess
in interfaceStorageConfigurationContainer
-
getRedstoneMode
- Specified by:
getRedstoneMode
in interfaceStorageConfigurationContainer
-
setRedstoneMode
- Specified by:
setRedstoneMode
in interfaceStorageConfigurationContainer
-