public class FindTreeStep extends java.lang.Object implements ITutorialStep
Modifier and Type | Field and Description |
---|---|
private static ITextComponent |
DESCRIPTION |
private int |
timeWaiting |
private static ITextComponent |
TITLE |
private TutorialToast |
toast |
private static java.util.Set<Block> |
TREE_BLOCKS |
private Tutorial |
tutorial |
Constructor and Description |
---|
FindTreeStep(Tutorial tutorial) |
Modifier and Type | Method and Description |
---|---|
void |
handleSetSlot(ItemStack stack) |
static boolean |
hasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_) |
void |
onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
void |
onStop() |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMovement, onHitBlock, onMouseMove, openInventory
private static final java.util.Set<Block> TREE_BLOCKS
private static final ITextComponent TITLE
private static final ITextComponent DESCRIPTION
private final Tutorial tutorial
private TutorialToast toast
private int timeWaiting
public FindTreeStep(Tutorial tutorial)
public void tick()
tick
in interface ITutorialStep
public void onStop()
onStop
in interface ITutorialStep
public void onMouseHover(ClientWorld worldIn, RayTraceResult result)
onMouseHover
in interface ITutorialStep
public void handleSetSlot(ItemStack stack)
handleSetSlot
in interface ITutorialStep
public static boolean hasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_)