Package net.minecraft.client.tutorial
Class FindTreeTutorialStepInstance
java.lang.Object
net.minecraft.client.tutorial.FindTreeTutorialStepInstance
- All Implemented Interfaces:
TutorialStepInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private static final int
private int
private static final Component
private TutorialToast
private final Tutorial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
private static boolean
hasCollectedTreeItems
(LocalPlayer p_235272_) static boolean
hasPunchedTreesPreviously
(LocalPlayer p_120504_) void
void
onLookAt
(ClientLevel p_120501_, HitResult p_120502_) void
tick()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.tutorial.TutorialStepInstance
onDestroyBlock, onInput, onMouse, onOpenInventory
-
Field Details
-
HINT_DELAY
private static final int HINT_DELAY- See Also:
-
TITLE
-
DESCRIPTION
-
tutorial
-
toast
-
timeWaiting
private int timeWaiting
-
-
Constructor Details
-
FindTreeTutorialStepInstance
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTutorialStepInstance
-
clear
public void clear()- Specified by:
clear
in interfaceTutorialStepInstance
-
onLookAt
- Specified by:
onLookAt
in interfaceTutorialStepInstance
-
onGetItem
- Specified by:
onGetItem
in interfaceTutorialStepInstance
-
hasCollectedTreeItems
-
hasPunchedTreesPreviously
-