Class Codecs

java.lang.Object
fr.robie.machineengine.api.data.Codecs

public final class Codecs extends Object
Codecs for common value types.
  • Field Details

  • Method Details

    • list

      @NotNull public static <T> @NotNull StorageCodec<List<T>> list(@NotNull @NotNull StorageCodec<T> element)
    • parseKey

      @NotNull public static @NotNull Result<net.kyori.adventure.key.Key> parseKey(@NotNull @NotNull String text)