Package net.minecraft.client.tutorial
Class FindTreeTutorialStepInstance
java.lang.Object
net.minecraft.client.tutorial.FindTreeTutorialStepInstance
- All Implemented Interfaces:
TutorialStepInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Component
private static final int
private int
private static final Component
private TutorialToast
private final Tutorial
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
private static boolean
hasCollectedTreeItems
(LocalPlayer pPlayer) static boolean
hasPunchedTreesPreviously
(LocalPlayer pPlayer) void
Called when the player pick up an ItemStackvoid
onLookAt
(ClientLevel pLevel, HitResult pResult) Handles blocks and entities hoveringvoid
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
Handles blocks and entities hovering- Specified by:
onLookAt
in interfaceTutorialStepInstance
-
onGetItem
Called when the player pick up an ItemStack- Specified by:
onGetItem
in interfaceTutorialStepInstance
-
hasCollectedTreeItems
-
hasPunchedTreesPreviously
-