public class ShapedRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
| Modifier and Type | Field and Description |
|---|---|
private Advancement.Builder |
advancementBuilder |
private ResourceLocation |
advancementId |
private int |
count |
private java.lang.String |
group |
private ResourceLocation |
id |
private java.util.Map<java.lang.Character,Ingredient> |
key |
private java.util.List<java.lang.String> |
pattern |
private Item |
result |
| Constructor and Description |
|---|
Result(ResourceLocation idIn,
Item resultIn,
int countIn,
java.lang.String groupIn,
java.util.List<java.lang.String> patternIn,
java.util.Map<java.lang.Character,Ingredient> keyIn,
Advancement.Builder advancementBuilderIn,
ResourceLocation advancementIdIn) |
| Modifier and Type | Method and Description |
|---|---|
ResourceLocation |
getAdvancementID() |
com.google.gson.JsonObject |
getAdvancementJson() |
ResourceLocation |
getID() |
IRecipeSerializer<?> |
getSerializer() |
void |
serialize(com.google.gson.JsonObject json) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecipeJsonprivate final ResourceLocation id
private final Item result
private final int count
private final java.lang.String group
private final java.util.List<java.lang.String> pattern
private final java.util.Map<java.lang.Character,Ingredient> key
private final Advancement.Builder advancementBuilder
private final ResourceLocation advancementId
public Result(ResourceLocation idIn, Item resultIn, int countIn, java.lang.String groupIn, java.util.List<java.lang.String> patternIn, java.util.Map<java.lang.Character,Ingredient> keyIn, Advancement.Builder advancementBuilderIn, ResourceLocation advancementIdIn)
public void serialize(com.google.gson.JsonObject json)
serialize in interface IFinishedRecipepublic IRecipeSerializer<?> getSerializer()
getSerializer in interface IFinishedRecipepublic ResourceLocation getID()
getID in interface IFinishedRecipe@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson in interface IFinishedRecipe@Nullable public ResourceLocation getAdvancementID()
getAdvancementID in interface IFinishedRecipe