public static class NBTShapedRecipeBuilder.Result
extends java.lang.Object
implements net.minecraft.data.IFinishedRecipe
| Constructor and Description |
|---|
Result(net.minecraft.util.ResourceLocation id,
net.minecraft.item.Item result,
int count,
net.minecraft.nbt.CompoundNBT tagNBT,
java.lang.String group,
java.util.List<java.lang.String> pattern,
java.util.Map<java.lang.Character,net.minecraft.item.crafting.Ingredient> key,
net.minecraft.advancements.Advancement.Builder advancementBuilder,
net.minecraft.util.ResourceLocation advancementId) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getAdvancementID() |
com.google.gson.JsonObject |
getAdvancementJson() |
net.minecraft.util.ResourceLocation |
getID() |
net.minecraft.item.crafting.IRecipeSerializer<?> |
getSerializer() |
void |
serialize(com.google.gson.JsonObject json) |
public Result(net.minecraft.util.ResourceLocation id,
net.minecraft.item.Item result,
int count,
net.minecraft.nbt.CompoundNBT tagNBT,
java.lang.String group,
java.util.List<java.lang.String> pattern,
java.util.Map<java.lang.Character,net.minecraft.item.crafting.Ingredient> key,
net.minecraft.advancements.Advancement.Builder advancementBuilder,
net.minecraft.util.ResourceLocation advancementId)
public void serialize(@Nonnull
com.google.gson.JsonObject json)
serialize in interface net.minecraft.data.IFinishedRecipe@Nonnull public net.minecraft.item.crafting.IRecipeSerializer<?> getSerializer()
getSerializer in interface net.minecraft.data.IFinishedRecipe@Nonnull public net.minecraft.util.ResourceLocation getID()
getID in interface net.minecraft.data.IFinishedRecipe@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson in interface net.minecraft.data.IFinishedRecipe@Nullable public net.minecraft.util.ResourceLocation getAdvancementID()
getAdvancementID in interface net.minecraft.data.IFinishedRecipe