Class ForgeModConditionalIngredient.Serializer
java.lang.Object
at.petrak.hexcasting.forge.recipe.ForgeModConditionalIngredient.Serializer
- All Implemented Interfaces:
net.minecraftforge.common.crafting.IIngredientSerializer<net.minecraft.world.item.crafting.Ingredient>
- Enclosing class:
- ForgeModConditionalIngredient
public static class ForgeModConditionalIngredient.Serializer
extends Object
implements net.minecraftforge.common.crafting.IIngredientSerializer<net.minecraft.world.item.crafting.Ingredient>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraft.world.item.crafting.Ingredientparse(@NotNull com.google.gson.JsonObject json) @NotNull net.minecraft.world.item.crafting.Ingredientparse(@NotNull net.minecraft.network.FriendlyByteBuf buffer) voidwrite(@NotNull net.minecraft.network.FriendlyByteBuf buffer, @NotNull net.minecraft.world.item.crafting.Ingredient ingredient)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
parse
@NotNull public @NotNull net.minecraft.world.item.crafting.Ingredient parse(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
parsein interfacenet.minecraftforge.common.crafting.IIngredientSerializer<net.minecraft.world.item.crafting.Ingredient>
-
parse
@NotNull public @NotNull net.minecraft.world.item.crafting.Ingredient parse(@NotNull @NotNull com.google.gson.JsonObject json) - Specified by:
parsein interfacenet.minecraftforge.common.crafting.IIngredientSerializer<net.minecraft.world.item.crafting.Ingredient>
-
write
public void write(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buffer, @NotNull @NotNull net.minecraft.world.item.crafting.Ingredient ingredient) - Specified by:
writein interfacenet.minecraftforge.common.crafting.IIngredientSerializer<net.minecraft.world.item.crafting.Ingredient>
-