java.lang.Object
com.refinedmods.refinedstorage.common.support.resource.ResourceCodecs

public final class ResourceCodecs extends Object
  • Field Details

    • ITEM_MAP_CODEC

      public static final com.mojang.serialization.MapCodec<ItemResource> ITEM_MAP_CODEC
    • ITEM_CODEC

      public static final com.mojang.serialization.Codec<ItemResource> ITEM_CODEC
    • FLUID_MAP_CODEC

      public static final com.mojang.serialization.MapCodec<FluidResource> FLUID_MAP_CODEC
    • FLUID_CODEC

      public static final com.mojang.serialization.Codec<FluidResource> FLUID_CODEC
    • CODEC

      public static final com.mojang.serialization.Codec<PlatformResourceKey> CODEC
    • AMOUNT_CODEC

      public static final com.mojang.serialization.Codec<ResourceAmount> AMOUNT_CODEC
    • AMOUNT_OPTIONAL_CODEC

      public static final com.mojang.serialization.Codec<Optional<ResourceAmount>> AMOUNT_OPTIONAL_CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,PlatformResourceKey> STREAM_CODEC
    • AMOUNT_STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,ResourceAmount> AMOUNT_STREAM_CODEC
    • AMOUNT_STREAM_OPTIONAL_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,Optional<ResourceAmount>> AMOUNT_STREAM_OPTIONAL_CODEC
    • ITEM_STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,ItemResource> ITEM_STREAM_CODEC
    • FLUID_STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,FluidResource> FLUID_STREAM_CODEC