mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
34 lines
731 B
Java
34 lines
731 B
Java
package com.hbm.tileentity.machine.rbmk;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public interface IRBMKLoadable {
|
|
|
|
/**
|
|
* @param toLoad the ItemStack that should be loaded
|
|
* @return TRUE if the provided ItemStack can be inserted into the column
|
|
*/
|
|
public boolean canLoad(ItemStack toLoad);
|
|
|
|
/**
|
|
* Loads the given ItemStack, canLoad check necessary first
|
|
* @param toLoad
|
|
*/
|
|
public void load(ItemStack toLoad);
|
|
|
|
/**
|
|
* @return TRUE if the column contains an ItemStack that can be unloaded
|
|
*/
|
|
public boolean canUnload();
|
|
|
|
/**
|
|
* @return The next ItemStack to be unloaded
|
|
*/
|
|
public ItemStack provideNext();
|
|
|
|
/**
|
|
* Removes the next ItemStack as part of the unloading process
|
|
*/
|
|
public void unload();
|
|
}
|