Package-level declarations

Types

Link copied to clipboard
object NBTUtils
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class VersionRange(val min: Version, val max: Version) : Comparable<VersionRange>

Properties

Link copied to clipboard
val Recipe.key: NamespacedKey

Functions

Link copied to clipboard
fun <R> Result<R>.asDataResult(): DataResult<R>
fun <R : Any> R?.asDataResult(error: String): DataResult<R>
Link copied to clipboard
fun <T> Codec<T>.decodeJsonFile(file: File): DataResult<Pair<T, JsonElement>>
Link copied to clipboard
inline fun <T> ConfigurationNode.get(): T?
Link copied to clipboard
fun CompoundTag.getByteArrayOrNull(key: String): ByteArray?
Link copied to clipboard
fun CompoundTag.getByteOrNull(key: String): Byte?
Link copied to clipboard
fun CompoundTag.getCompoundOrNull(key: String): CompoundTag?
Link copied to clipboard
fun CompoundTag.getDoubleOrNull(key: String): Double?
Link copied to clipboard
fun <F, S> DataResult<Pair<F, S>>.getFirstOrThrow(): F
fun <F, S> DataResult<Pair<F, S>>.getFirstOrThrow(message: String): F
Link copied to clipboard
fun <F : Any, S : Any> DataResult<Pair<Holder<F>, S>>.getFirstValueOrThrow(): F
fun <F : Any, S : Any> DataResult<Pair<Holder<F>, S>>.getFirstValueOrThrow(message: String): F
Link copied to clipboard
fun CompoundTag.getFloatOrNull(key: String): Float?
Link copied to clipboard
fun Recipe.getInputStacks(): List<ItemStack>
fun RecipeChoice.getInputStacks(): List<ItemStack>
Link copied to clipboard
fun CompoundTag.getIntArrayOrNull(key: String): IntArray?
Link copied to clipboard
fun CompoundTag.getIntOrNull(key: String): Int?
Link copied to clipboard
inline fun <T> ConfigurationNode.getList(): List<T>?
Link copied to clipboard
fun CompoundTag.getListOrNull(key: String): ListTag?
Link copied to clipboard
fun CompoundTag.getLongArrayOrNull(key: String): LongArray?
Link copied to clipboard
fun CompoundTag.getLongOrNull(key: String): Long?
Link copied to clipboard
fun <T : Tag> CompoundTag.getOrNull(key: String): T?
Link copied to clipboard
fun <T : Tag> CompoundTag.getOrPut(key: String, defaultValue: () -> T): T
Link copied to clipboard
fun <R> DataResult<R>.getOrThrow(): R
fun <R> DataResult<R>.getOrThrow(message: String): R
Link copied to clipboard
fun CompoundTag.getShortOrNull(key: String): Short?
Link copied to clipboard
fun CompoundTag.getStringOrNull(key: String): String?
Link copied to clipboard
fun <R> DataResult<Holder<R>>.getValueOrThrow(): R
fun <R> DataResult<Holder<R>>.getValueOrThrow(message: String): R
Link copied to clipboard
fun NamespacedKey(addon: Addon, key: String): NamespacedKey
Link copied to clipboard
fun ByteBuf.readUUID(): UUID
Link copied to clipboard
fun <F, S> DataResult<Pair<F, S>>.resultFirstOrNull(): F?
Link copied to clipboard
fun <F, S> DataResult<Pair<Holder<F>, S>>.resultFirstValueOrNull(): F?
Link copied to clipboard
fun <R> DataResult<R>.resultOrNull(): R?
Link copied to clipboard
fun <R> DataResult<Holder<R>>.resultValueOrNull(): R?
Link copied to clipboard
inline fun <T : S, S : Any> Codec<S>.subType(): Codec<T>
Link copied to clipboard
fun InputStream.transferTo(output: OutputStream, amount: Int)
Link copied to clipboard
inline fun <T> use(vararg closeable: Closeable, block: () -> T): T
Link copied to clipboard
fun <T : ConfigurationNode> T.walk(): Sequence<T>
Link copied to clipboard
fun File.write(stream: InputStream)