@Immutable
public class LockCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LockCode |
EMPTY_CODE |
Constructor and Description |
---|
LockCode(java.lang.String code) |
Modifier and Type | Method and Description |
---|---|
static LockCode |
fromNBT(NBTTagCompound nbt) |
java.lang.String |
getLock() |
boolean |
isEmpty() |
void |
toNBT(NBTTagCompound nbt) |
public static final LockCode EMPTY_CODE
public boolean isEmpty()
public java.lang.String getLock()
public void toNBT(NBTTagCompound nbt)
public static LockCode fromNBT(NBTTagCompound nbt)