java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandLockCode
-
Constructor Summary
Constructors
-
Method Summary
getKey(net.minecraft.world.LockCode internal)
static net.minecraft.world.LockCode
static net.minecraft.world.LockCode
The item hover name that will allow unlocking this code.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExpandLockCode
public ExpandLockCode()
-
Method Details
-
of
public static net.minecraft.world.LockCode of(String name)
The item hover name that will allow unlocking this code.
- Parameters:
name - The hover name to compare against.
- Returns:
- A new LockCode instance.
-
of
public static net.minecraft.world.LockCode of(IItemStack item)
-
getKey
public static String getKey(net.minecraft.world.LockCode internal)