@Immutable
public class LockCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LockCode |
EMPTY_CODE |
private java.lang.String |
lock |
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
private final java.lang.String lock
public boolean isEmpty()
public java.lang.String getLock()
public void toNBT(NBTTagCompound nbt)
public static LockCode fromNBT(NBTTagCompound nbt)