Class ResourceCodecs
java.lang.Object
com.refinedmods.refinedstorage.common.support.resource.ResourceCodecs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ResourceAmount> static final com.mojang.serialization.Codec
<Optional<ResourceAmount>> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, ResourceAmount> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, Optional<ResourceAmount>> static final com.mojang.serialization.Codec
<PlatformResourceKey> static final com.mojang.serialization.Codec
<FluidResource> static final com.mojang.serialization.MapCodec
<FluidResource> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, FluidResource> static final com.mojang.serialization.Codec
<ItemResource> static final com.mojang.serialization.MapCodec
<ItemResource> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, ItemResource> static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, PlatformResourceKey> -
Method Summary
-
Field Details
-
ITEM_MAP_CODEC
-
ITEM_CODEC
-
FLUID_MAP_CODEC
-
FLUID_CODEC
-
CODEC
-
AMOUNT_CODEC
-
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
-