public class MovementStep extends java.lang.Object implements ITutorialStep
Modifier and Type | Field and Description |
---|---|
private static ITextComponent |
LOOK_DESCRIPTION |
private static ITextComponent |
LOOK_TITLE |
private int |
lookCompleted |
private TutorialToast |
lookToast |
private static ITextComponent |
MOVE_DESCRIPTION |
private static ITextComponent |
MOVE_TITLE |
private int |
moveCompleted |
private boolean |
moved |
private TutorialToast |
moveToast |
private int |
timeLooked |
private int |
timeMoved |
private int |
timeWaiting |
private boolean |
turned |
private Tutorial |
tutorial |
Constructor and Description |
---|
MovementStep(Tutorial tutorial) |
Modifier and Type | Method and Description |
---|---|
void |
handleMouse(MouseHelper mouseHelperIn) |
void |
handleMovement(MovementInput input) |
void |
onStop() |
void |
update() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleSetSlot, onHitBlock, onMouseHover, openInventory
private static final ITextComponent MOVE_TITLE
private static final ITextComponent MOVE_DESCRIPTION
private static final ITextComponent LOOK_TITLE
private static final ITextComponent LOOK_DESCRIPTION
private final Tutorial tutorial
private TutorialToast moveToast
private TutorialToast lookToast
private int timeWaiting
private int timeMoved
private int timeLooked
private boolean moved
private boolean turned
private int moveCompleted
private int lookCompleted
public MovementStep(Tutorial tutorial)
public void update()
update
in interface ITutorialStep
public void onStop()
onStop
in interface ITutorialStep
public void handleMovement(MovementInput input)
handleMovement
in interface ITutorialStep
public void handleMouse(MouseHelper mouseHelperIn)
handleMouse
in interface ITutorialStep