Interface IIngredientSerializer<T extends Ingredient>
public interface IIngredientSerializer<T extends Ingredient>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends T> codec()
read
(RegistryFriendlyByteBuf buffer) void
write
(RegistryFriendlyByteBuf buffer, T value)
-
Field Details
-
VANILLA
-
-
Method Details
-
codec
com.mojang.serialization.MapCodec<? extends T> codec() -
write
-
read
-