public interface RechiseledRegistration
Created 26/04/2023 by SuperMartijn642
| Modifier and Type | Method and Description |
|---|---|
RechiseledBlockBuilder |
block(java.lang.String identifier)
Creates a new block builder.
|
void |
chiselingEntry(net.minecraft.util.ResourceLocation recipe,
java.util.function.Supplier<net.minecraft.item.Item> regularItem,
int regularData,
java.util.function.Supplier<net.minecraft.item.Item> connectingItem,
int connectingData)
Adds a new entry to a chiseling recipe.
|
static RechiseledRegistration |
get(java.lang.String modid)
Gets a
RechiseledRegistration for the given modid. |
java.util.Collection<RechiseledBlockType> |
getAllBlockTypes() |
net.minecraft.creativetab.CreativeTabs |
itemGroup(java.util.function.Supplier<net.minecraft.item.Item> icon,
java.lang.String translation)
Creates an item group containing all the blocks created using this registration.
|
void |
registerDataProviders()
Registers all data providers.
|
static RechiseledRegistration get(java.lang.String modid)
RechiseledRegistration for the given modid.
If called multiple times with the same modid, the same instance will be returned.RechiseledBlockBuilder block(java.lang.String identifier)
identifier - identifier used to register the blockvoid chiselingEntry(net.minecraft.util.ResourceLocation recipe,
java.util.function.Supplier<net.minecraft.item.Item> regularItem,
int regularData,
java.util.function.Supplier<net.minecraft.item.Item> connectingItem,
int connectingData)
recipe - the chiseling recipe to add the entry toregularItem - the regular option of the entryconnectingItem - the connecting option of the entryjava.lang.IllegalArgumentException - when both item inputs are nullBaseChiselingRecipesnet.minecraft.creativetab.CreativeTabs itemGroup(java.util.function.Supplier<net.minecraft.item.Item> icon,
java.lang.String translation)
translation - English translation for the item group's titlejava.lang.IllegalStateException - when an item group for this registration has already been createdjava.util.Collection<RechiseledBlockType> getAllBlockTypes()
void registerDataProviders()