public class PunchTreeStep extends java.lang.Object implements ITutorialStep
Modifier and Type | Field and Description |
---|---|
private static ITextComponent |
DESCRIPTION |
private int |
resetCount |
private int |
timeWaiting |
private static ITextComponent |
TITLE |
private TutorialToast |
toast |
private Tutorial |
tutorial |
Constructor and Description |
---|
PunchTreeStep(Tutorial tutorial) |
Modifier and Type | Method and Description |
---|---|
void |
handleSetSlot(ItemStack stack) |
void |
onHitBlock(ClientWorld worldIn,
BlockPos pos,
BlockState state,
float diggingStage) |
void |
onStop() |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMovement, onMouseHover, onMouseMove, openInventory
private static final ITextComponent TITLE
private static final ITextComponent DESCRIPTION
private final Tutorial tutorial
private TutorialToast toast
private int timeWaiting
private int resetCount
public PunchTreeStep(Tutorial tutorial)
public void tick()
tick
in interface ITutorialStep
public void onStop()
onStop
in interface ITutorialStep
public void onHitBlock(ClientWorld worldIn, BlockPos pos, BlockState state, float diggingStage)
onHitBlock
in interface ITutorialStep
public void handleSetSlot(ItemStack stack)
handleSetSlot
in interface ITutorialStep