Class StorageContainerUpgradeRecipeSerializer<T extends Enum<T> & StorageVariant & net.minecraft.util.StringRepresentable>

java.lang.Object
com.refinedmods.refinedstorage.common.storage.StorageContainerUpgradeRecipeSerializer<T>
All Implemented Interfaces:
net.minecraft.world.item.crafting.RecipeSerializer<StorageContainerUpgradeRecipe<T>>

public class StorageContainerUpgradeRecipeSerializer<T extends Enum<T> & StorageVariant & net.minecraft.util.StringRepresentable> extends Object implements net.minecraft.world.item.crafting.RecipeSerializer<StorageContainerUpgradeRecipe<T>>
  • Constructor Details

  • Method Details

    • codec

      public com.mojang.serialization.MapCodec<StorageContainerUpgradeRecipe<T>> codec()
      Specified by:
      codec in interface net.minecraft.world.item.crafting.RecipeSerializer<T extends Enum<T> & StorageVariant & net.minecraft.util.StringRepresentable>
    • streamCodec

      public net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,StorageContainerUpgradeRecipe<T>> streamCodec()
      Specified by:
      streamCodec in interface net.minecraft.world.item.crafting.RecipeSerializer<T extends Enum<T> & StorageVariant & net.minecraft.util.StringRepresentable>