mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 10:55:06 +00:00
Close #1212 Use OreDictionary to choose a type of Copper/Tin/Bronze
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user