common
/
org.jglrxavpok.hephaistos.nbt
/
NBTCompoundGetters
/
getOrElse
get
Or
Else
open fun
getOrElse
(key:
String
, defaultValue:
NBT
):
NBT
Content copied to clipboard
Returns the value associated to the given key, if any. Returns 'defaultValue' otherwise.