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 voidcreatePreset(SlimefunItem item, String title, Consumer<BlockMenuPreset> setup) Deprecated.default voidcreatePreset(SlimefunItem item, Consumer<BlockMenuPreset> setup) Deprecated.int[]Deprecated.This method returns anArrayof slots that serve as the input for theInventoryof this block.int[]Deprecated.This method returns anArrayof slots that serve as the output for theInventoryof this block.
-
Method Details
-
getInputSlots
int[] getInputSlots()Deprecated.This method returns anArrayof slots that serve as the input for theInventoryof this block.- Returns:
- The input slots for the
Inventoryof this block
-
getOutputSlots
int[] getOutputSlots()Deprecated.This method returns anArrayof slots that serve as the output for theInventoryof this block.- Returns:
- The output slots for the
Inventoryof this block
-
createPreset
Deprecated. -
createPreset
Deprecated.
-