Class EffectIngredient.Serializer
java.lang.Object
org.moddingx.libx.crafting.ingredient.EffectIngredient.Serializer
- All Implemented Interfaces:
net.minecraftforge.common.crafting.IIngredientSerializer<EffectIngredient>
- Enclosing class:
- EffectIngredient
public static class EffectIngredient.Serializer
extends Object
implements net.minecraftforge.common.crafting.IIngredientSerializer<EffectIngredient>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(JsonObject json) parse
(net.minecraft.network.FriendlyByteBuf buffer) void
write
(net.minecraft.network.FriendlyByteBuf buffer, EffectIngredient ingredient)
-
Field Details
-
INSTANCE
-
-
Method Details
-
parse
- Specified by:
parse
in interfacenet.minecraftforge.common.crafting.IIngredientSerializer<EffectIngredient>
-
parse
- Specified by:
parse
in interfacenet.minecraftforge.common.crafting.IIngredientSerializer<EffectIngredient>
-
write
public void write(@Nonnull net.minecraft.network.FriendlyByteBuf buffer, @Nonnull EffectIngredient ingredient) - Specified by:
write
in interfacenet.minecraftforge.common.crafting.IIngredientSerializer<EffectIngredient>
-