Close #1212 Use OreDictionary to choose a type of Copper/Tin/Bronze

This commit is contained in:
mezz committed 2016-05-24 02:14:55 -07:00
1 parent 502160011b
commit 55c32a8280
20 files changed
+268 -159

No files matched your search

@@ -5,32 +5,28 @@
******************************************************************************/
package forestry.api.storage;
import javax.annotation.Nonnull;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
/**
* Makes a new crate, registers it with the game registry,
* and creates crating and uncrating recipes for the Carpenter.
* The icon is rendered automatically from the contained item.
* If an oreDictName is specified, it will make recipes using that.
*
* Can only be called during the Init stage.
*/
public interface ICrateRegistry {
/**
* Makes a new crate, registers it with the game registry,
* and creates crating and uncrating recipes for the Carpenter.
* The icon is rendered automatically from the contained item.
*
* Can only be called during the Init stage.
*/
void registerCrate(Item item);
void registerCrate(@Nonnull Item item);
void registerCrate(Block block);
void registerCrate(@Nonnull Block block);
void registerCrate(ItemStack stack);
void registerCrate(@Nonnull ItemStack stack);
/**
* Same as the above, but uses the ore dictionary for inputs in the Carpenter crating recipe.
*/
void registerCrateUsingOreDict(Item item);
void registerCrateUsingOreDict(Block block);
void registerCrateUsingOreDict(ItemStack stack);
void registerCrate(@Nonnull String oreDictName);
}