NBT-Manipulator

A kotlin/java lib that allows you to read and write NBT data in a clean way

View on GitHub

//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtByte/Companion/unsigned

unsigned

[jvm]\

@JvmStatic

fun unsigned(unsigned: String): NbtByte

Parses the string value as an unsigned byte and wraps it.

Parameters

jvm

   
unsigned Unsigned value from 0 to 255.

Throws

   
kotlin.NumberFormatException if the number is not within a valid range or if the string does not contain a valid number.