@Environment(value=CLIENT) public class OpenInventoryTutorialStepHandler extends Object implements TutorialStepHandler
Modifier and Type | Field and Description |
---|---|
private static Text |
DESCRIPTION |
private TutorialManager |
manager |
private int |
ticks |
private static Text |
TITLE |
private TutorialToast |
toast |
Constructor and Description |
---|
OpenInventoryTutorialStepHandler(TutorialManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
onInventoryOpened() |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onBlockAttacked, onMouseUpdate, onMovement, onSlotUpdate, onTarget
private static final Text TITLE
private static final Text DESCRIPTION
private final TutorialManager manager
private TutorialToast toast
private int ticks
public OpenInventoryTutorialStepHandler(TutorialManager manager)
public void tick()
tick
in interface TutorialStepHandler
public void destroy()
destroy
in interface TutorialStepHandler
public void onInventoryOpened()
onInventoryOpened
in interface TutorialStepHandler