Class PlatformUtil

java.lang.Object
com.refinedmods.refinedstorage.common.util.PlatformUtil

public final class PlatformUtil extends Object
  • Method Details

    • enumStreamCodec

      public static <T extends Enum<T>> net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,T> enumStreamCodec(T[] values)
    • enumCodec

      public static <T extends Enum<T>> com.mojang.serialization.Codec<T> enumCodec(T[] values)
    • sendBlockUpdateToClient

      public static void sendBlockUpdateToClient(@Nullable net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)