Interface IIngredientConditionSerializer<T extends IIngredientCondition<? extends IIngredient>>

All Known Implementing Classes:
ConditionAnyDamagedSerializer, ConditionCustomSerializer, ConditionDamagedAtLeastSerializer, ConditionDamagedAtMostSerializer, ConditionDamagedSerializer

public interface IIngredientConditionSerializer<T extends IIngredientCondition<? extends IIngredient>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<IIngredientConditionSerializer<? extends IIngredientCondition<? extends IIngredient>>>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.Codec<T>
     
    fromNetwork(net.minecraft.network.FriendlyByteBuf buffer)
     
    net.minecraft.resources.ResourceLocation
     
    void
    toNetwork(net.minecraft.network.FriendlyByteBuf buffer, T ingredient)
     
  • Field Details

  • Method Details

    • fromNetwork

      T fromNetwork(net.minecraft.network.FriendlyByteBuf buffer)
    • toNetwork

      void toNetwork(net.minecraft.network.FriendlyByteBuf buffer, T ingredient)
    • codec

      com.mojang.serialization.Codec<T> codec()
    • getType

      net.minecraft.resources.ResourceLocation getType()