public class Recipe extends java.lang.Object implements IRegisterObject
| Constructor and Description |
|---|
Recipe() |
| Modifier and Type | Method and Description |
|---|---|
Recipe |
addParticle(Particle particle) |
Recipe |
addSound(Sound sound) |
Recipe |
advancement(net.minecraft.util.ResourceLocation... advancement) |
Recipe |
advancement(net.minecraft.util.ResourceLocation advancement) |
Recipe |
advancement(java.lang.String... advancement) |
Recipe |
advancement(java.lang.String advancement) |
Recipe |
category(java.lang.String category) |
Recipe |
command(java.lang.String... command) |
Recipe |
command(java.lang.String command) |
Recipe |
gamestage(java.lang.String... stage) |
Recipe |
gamestage(java.lang.String stage) |
java.util.ArrayList<net.minecraft.util.ResourceLocation> |
getAdvancements() |
java.lang.String |
getCategory() |
java.util.ArrayList<java.lang.String> |
getCommands() |
Validation |
getErrorCheck() |
java.util.ArrayList<java.lang.String> |
getGamestages() |
java.util.List<RecipeInput> |
getInputs() |
RecipeInput |
getMainHand() |
RecipeInput |
getOffHand() |
java.util.List<RecipeOutput> |
getOutputs() |
RecipeData |
getRecipeData() |
java.util.Map<java.lang.String,java.lang.Integer> |
getSkills() |
int |
getTime() |
int |
getXP() |
Recipe |
input(java.util.Collection<?> inputs) |
Recipe |
input(net.minecraft.item.crafting.Ingredient... inputs) |
Recipe |
input(net.minecraft.item.crafting.Ingredient input) |
Recipe |
input(net.minecraft.item.crafting.Ingredient input,
double chance) |
Recipe |
input(net.minecraft.item.crafting.Ingredient input,
double chance,
int damage) |
Recipe |
input(net.minecraft.item.crafting.Ingredient input,
int damage) |
Recipe |
input(RecipeInput... inputs) |
Recipe |
input(RecipeInput input) |
Recipe |
mainHand(net.minecraft.item.crafting.Ingredient input) |
Recipe |
mainHand(net.minecraft.item.crafting.Ingredient input,
double chance) |
Recipe |
mainHand(net.minecraft.item.crafting.Ingredient input,
double chance,
int damage) |
Recipe |
mainHand(net.minecraft.item.crafting.Ingredient input,
int damage) |
Recipe |
mainHand(RecipeInput input) |
Recipe |
offHand(net.minecraft.item.crafting.Ingredient input) |
Recipe |
offHand(net.minecraft.item.crafting.Ingredient input,
double chance) |
Recipe |
offHand(net.minecraft.item.crafting.Ingredient input,
double chance,
int damage) |
Recipe |
offHand(net.minecraft.item.crafting.Ingredient input,
int damage) |
Recipe |
offHand(RecipeInput input) |
Recipe |
output(java.util.Collection<?> outputs) |
Recipe |
output(net.minecraft.item.ItemStack... outputs) |
Recipe |
output(net.minecraft.item.ItemStack output) |
Recipe |
output(net.minecraft.item.ItemStack output,
double chance) |
Recipe |
output(RecipeOutput... outputs) |
Recipe |
output(RecipeOutput output) |
IRegisterObject |
register()
Register the object in the registry.
|
Recipe |
setFrame(net.minecraft.util.ResourceLocation frame) |
Recipe |
setOutputType(OutputType outputType) |
Recipe |
setProgressBar(net.minecraft.util.ResourceLocation progressBar) |
Recipe |
setQueueable(QueueType queueable) |
Recipe |
setSoundType(SoundType soundType) |
Recipe |
skill(java.lang.String skill,
int level) |
Recipe |
time(int time) |
boolean |
validate() |
Recipe |
xp(int xp) |
public IRegisterObject register()
IRegisterObjectregister in interface IRegisterObjectpublic boolean validate()
validate in interface IRegisterObjectpublic Validation getErrorCheck()
getErrorCheck in interface IRegisterObjectpublic Recipe category(java.lang.String category)
public java.lang.String getCategory()
public Recipe input(java.util.Collection<?> inputs)
public Recipe input(RecipeInput input)
public Recipe input(RecipeInput... inputs)
public Recipe input(net.minecraft.item.crafting.Ingredient input)
public Recipe input(net.minecraft.item.crafting.Ingredient... inputs)
public Recipe input(net.minecraft.item.crafting.Ingredient input, int damage)
public Recipe input(net.minecraft.item.crafting.Ingredient input, double chance)
public Recipe input(net.minecraft.item.crafting.Ingredient input, double chance, int damage)
public java.util.List<RecipeInput> getInputs()
public Recipe output(java.util.Collection<?> outputs)
public Recipe output(RecipeOutput output)
public Recipe output(RecipeOutput... outputs)
public Recipe output(net.minecraft.item.ItemStack output)
public Recipe output(net.minecraft.item.ItemStack... outputs)
public Recipe output(net.minecraft.item.ItemStack output, double chance)
public java.util.List<RecipeOutput> getOutputs()
public Recipe mainHand(RecipeInput input)
public Recipe mainHand(net.minecraft.item.crafting.Ingredient input)
public Recipe mainHand(net.minecraft.item.crafting.Ingredient input, int damage)
public Recipe mainHand(net.minecraft.item.crafting.Ingredient input, double chance)
public Recipe mainHand(net.minecraft.item.crafting.Ingredient input, double chance, int damage)
public RecipeInput getMainHand()
public Recipe offHand(RecipeInput input)
public Recipe offHand(net.minecraft.item.crafting.Ingredient input)
public Recipe offHand(net.minecraft.item.crafting.Ingredient input, int damage)
public Recipe offHand(net.minecraft.item.crafting.Ingredient input, double chance)
public Recipe offHand(net.minecraft.item.crafting.Ingredient input, double chance, int damage)
public RecipeInput getOffHand()
public Recipe time(int time)
public int getTime()
public Recipe xp(int xp)
public int getXP()
public Recipe command(java.lang.String command)
public Recipe command(java.lang.String... command)
public java.util.ArrayList<java.lang.String> getCommands()
public Recipe advancement(net.minecraft.util.ResourceLocation advancement)
public Recipe advancement(java.lang.String advancement)
public Recipe advancement(net.minecraft.util.ResourceLocation... advancement)
public Recipe advancement(java.lang.String... advancement)
public java.util.ArrayList<net.minecraft.util.ResourceLocation> getAdvancements()
public Recipe gamestage(java.lang.String stage)
public Recipe gamestage(java.lang.String... stage)
public java.util.ArrayList<java.lang.String> getGamestages()
public Recipe skill(java.lang.String skill, int level)
public java.util.Map<java.lang.String,java.lang.Integer> getSkills()
public RecipeData getRecipeData()
public Recipe setFrame(net.minecraft.util.ResourceLocation frame)
public Recipe setProgressBar(net.minecraft.util.ResourceLocation progressBar)
public Recipe setOutputType(OutputType outputType)