public class NBTHelper
extends java.lang.Object
Constructor and Description |
---|
NBTHelper() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getOrDefault(net.minecraft.nbt.CompoundNBT nbt,
java.lang.String key,
T defaultValue,
java.util.function.BiFunction<net.minecraft.nbt.CompoundNBT,java.lang.String,T> function) |