public class Pin
extends Object
A quick reference to a specific page in a research book, which may point to an item's recipe.
-
Constructor Summary
Constructors
Pin(BookNode entry,
int stage,
net.minecraft.world.level.Level world)
Pin(net.minecraft.world.item.Item result,
BookNode node,
int stage,
Icon icon)
-
Method Summary
net.minecraft.world.item.Item
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Pin
public Pin(@Nullable
net.minecraft.world.item.Item result,
BookNode node,
int stage,
Icon icon)
-
Pin
public Pin(BookNode entry,
int stage,
net.minecraft.world.level.Level world)
-
Method Details
-
-
getStage
public int getStage()
-
getResult
@Nullable
public net.minecraft.world.item.Item getResult()
-