Class FindTreeTutorialStepInstance
java.lang.Object
net.minecraft.client.tutorial.FindTreeTutorialStepInstance
- All Implemented Interfaces:
TutorialStepInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final intprivate intprivate static final Componentprivate @Nullable TutorialToastprivate final Tutorial -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()private static booleanhasCollectedTreeItems(LocalPlayer player) static booleanhasPunchedTreesPreviously(LocalPlayer player) voidvoidonLookAt(ClientLevel level, HitResult hit) voidtick()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
tickin interfaceTutorialStepInstance
-
clear
public void clear()- Specified by:
clearin interfaceTutorialStepInstance
-
onLookAt
- Specified by:
onLookAtin interfaceTutorialStepInstance
-
onGetItem
- Specified by:
onGetItemin interfaceTutorialStepInstance
-
hasCollectedTreeItems
-
hasPunchedTreesPreviously
-