protected class ChiselingRecipeProvider.ChiselingRecipeBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
add(net.minecraft.item.Item regularItem,
int regularItemData,
net.minecraft.item.Item connectingItem,
int connectingItemData)
Adds a new entry to this recipe builder.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
add(net.minecraft.item.Item regularItem,
int regularItemData,
net.minecraft.item.Item connectingItem,
int connectingItemData,
boolean optional)
Add a new entry to this recipe builder.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
add(net.minecraft.item.Item regularItem,
net.minecraft.item.Item connectingItem)
Adds a new entry to this recipe builder.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
add(net.minecraft.item.Item regularItem,
net.minecraft.item.Item connectingItem,
boolean optional)
Add a new entry to this recipe builder.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addConnectingItem(net.minecraft.item.Item item)
Adds a new entry to this recipe builder for an item with connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addConnectingItem(net.minecraft.item.Item item,
boolean optional)
Adds a new entry to this recipe builder for an item with connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addConnectingItem(net.minecraft.item.Item item,
int data)
Adds a new entry to this recipe builder for an item with connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addConnectingItem(net.minecraft.item.Item item,
int data,
boolean optional)
Adds a new entry to this recipe builder for an item with connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addRegularItem(net.minecraft.item.Item item)
Adds a new entry to this recipe builder for an item without connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addRegularItem(net.minecraft.item.Item item,
boolean optional)
Adds a new entry to this recipe builder for an item without connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addRegularItem(net.minecraft.item.Item item,
int data)
Adds a new entry to this recipe builder for an item without connecting textures.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
addRegularItem(net.minecraft.item.Item item,
int data,
boolean optional)
Adds a new entry to this recipe builder for an item without connecting textures.
|
void |
overwrite(boolean overwrite)
Sets the overwrite flag for this recipe builder.
|
ChiselingRecipeProvider.ChiselingRecipeBuilder |
parent(net.minecraft.util.ResourceLocation parent)
Deprecated.
|
@Deprecated public ChiselingRecipeProvider.ChiselingRecipeBuilder parent(net.minecraft.util.ResourceLocation parent)
BaseChiselingRecipes contains recipe locations for the default rechiseled recipes.parent - the parent recipe locationjava.lang.IllegalArgumentException - when parent recipe does not existpublic void overwrite(boolean overwrite)
overwrite - whether the lower level resources' entries should be overwrittenpublic ChiselingRecipeProvider.ChiselingRecipeBuilder add(@Nullable net.minecraft.item.Item regularItem, int regularItemData, @Nullable net.minecraft.item.Item connectingItem, int connectingItemData, boolean optional)
regularItem - the regular variant, i.e. without connecting texturesconnectingItem - the variant with connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when both regularItem and connectingItem are nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder add(@Nullable net.minecraft.item.Item regularItem, @Nullable net.minecraft.item.Item connectingItem, boolean optional)
regularItem - the regular variant, i.e. without connecting texturesconnectingItem - the variant with connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when both regularItem and connectingItem are nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder add(net.minecraft.item.Item regularItem, int regularItemData, net.minecraft.item.Item connectingItem, int connectingItemData)
regularItem - the regular variant, i.e. without connecting texturesconnectingItem - the variant with connecting texturesjava.lang.IllegalArgumentException - when both regularItem and connectingItem are nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder add(net.minecraft.item.Item regularItem, net.minecraft.item.Item connectingItem)
regularItem - the regular variant, i.e. without connecting texturesconnectingItem - the variant with connecting texturesjava.lang.IllegalArgumentException - when both regularItem and connectingItem are nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addRegularItem(net.minecraft.item.Item item, int data, boolean optional)
item - an item without connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addRegularItem(net.minecraft.item.Item item, boolean optional)
item - an item without connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addRegularItem(net.minecraft.item.Item item, int data)
item - an item without connecting texturesjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addRegularItem(net.minecraft.item.Item item)
item - an item without connecting texturesjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addConnectingItem(net.minecraft.item.Item item, int data, boolean optional)
item - an item with connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addConnectingItem(net.minecraft.item.Item item, boolean optional)
item - an item with connecting texturesoptional - whether the recipe may ignore the entry when the entry's items are not presentjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addConnectingItem(net.minecraft.item.Item item, int data)
item - an item with connecting texturesjava.lang.IllegalArgumentException - when item is nullpublic ChiselingRecipeProvider.ChiselingRecipeBuilder addConnectingItem(net.minecraft.item.Item item)
item - an item with connecting texturesjava.lang.IllegalArgumentException - when item is null