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 Componentprivate static final intprivate intprivate static final Componentprivate TutorialToastprivate final Tutorial - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()private static booleanhasCollectedTreeItems(LocalPlayer pPlayer) static booleanhasPunchedTreesPreviously(LocalPlayer pPlayer) voidCalled when the player pick up an ItemStackvoidonLookAt(ClientLevel pLevel, HitResult pResult) Handles blocks and entities hoveringvoidtick()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
 tickin interfaceTutorialStepInstance
 - 
clear
public void clear()- Specified by:
 clearin interfaceTutorialStepInstance
 - 
onLookAt
Handles blocks and entities hovering- Specified by:
 onLookAtin interfaceTutorialStepInstance
 - 
onGetItem
Called when the player pick up an ItemStack- Specified by:
 onGetItemin interfaceTutorialStepInstance
 - 
hasCollectedTreeItems
 - 
hasPunchedTreesPreviously
 
 -