Interface InventoryBlock
- All Known Implementing Classes:
AbstractEnergyProvider
,AbstractGrowthAccelerator
,AContainer
,AGenerator
,AnimalGrowthAccelerator
,AutoAnvil
,AutoBreeder
,AutoBrewer
,AutoDisenchanter
,AutoDrier
,AutoEnchanter
,BioGenerator
,BookBinder
,ButcherAndroid
,CarbonPress
,ChargingBench
,CoalGenerator
,CombustionGenerator
,CropGrowthAccelerator
,ElectricDustWasher
,ElectricFurnace
,ElectricGoldPan
,ElectricIngotFactory
,ElectricIngotPulverizer
,ElectricOreGrinder
,ElectricPress
,ElectricSmeltery
,ElectrifiedCrucible
,ExpCollector
,FarmerAndroid
,FishermanAndroid
,FluidPump
,FoodComposter
,FoodFabricator
,Freezer
,GEOMiner
,HeatedPressureChamber
,LavaGenerator
,MagnesiumGenerator
,MinerAndroid
,NetherStarReactor
,NuclearReactor
,OilPump
,ProduceCollector
,ProgrammableAndroid
,Reactor
,Refinery
,TrashCan
,TreeGrowthAccelerator
,WoodcutterAndroid
public interface InventoryBlock
Deprecated.
This interface is not designed to be used by addons. The entire inventory system will be replaced
eventually.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
createPreset
(SlimefunItem item, String title, Consumer<BlockMenuPreset> setup) Deprecated.default void
createPreset
(SlimefunItem item, Consumer<BlockMenuPreset> setup) Deprecated.int[]
Deprecated.This method returns anArray
of slots that serve as the input for theInventory
of this block.int[]
Deprecated.This method returns anArray
of slots that serve as the output for theInventory
of this block.
-
Method Details
-
getInputSlots
int[] getInputSlots()Deprecated.This method returns anArray
of slots that serve as the input for theInventory
of this block.- Returns:
- The input slots for the
Inventory
of this block
-
getOutputSlots
int[] getOutputSlots()Deprecated.This method returns anArray
of slots that serve as the output for theInventory
of this block.- Returns:
- The output slots for the
Inventory
of this block
-
createPreset
Deprecated. -
createPreset
Deprecated.
-