Package net.minecraft.client.tutorial
Class PunchTreeTutorialStepInstance
java.lang.Object
net.minecraft.client.tutorial.PunchTreeTutorialStepInstance
- All Implemented Interfaces:
 TutorialStepInstance
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final intprivate intprivate intprivate static final Componentprivate TutorialToastprivate final Tutorial - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidonDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.voidCalled when the player pick up an ItemStackvoidtick()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
onInput, onLookAt, onMouse, onOpenInventory 
- 
Field Details
- 
HINT_DELAY
private static final int HINT_DELAY- See Also:
 
 - 
TITLE
 - 
DESCRIPTION
 - 
tutorial
 - 
toast
 - 
timeWaiting
private int timeWaiting - 
resetCount
private int resetCount 
 - 
 - 
Constructor Details
- 
PunchTreeTutorialStepInstance
 
 - 
 - 
Method Details
- 
tick
public void tick()- Specified by:
 tickin interfaceTutorialStepInstance
 - 
clear
public void clear()- Specified by:
 clearin interfaceTutorialStepInstance
 - 
onDestroyBlock
public void onDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.- Specified by:
 onDestroyBlockin interfaceTutorialStepInstance
 - 
onGetItem
Called when the player pick up an ItemStack- Specified by:
 onGetItemin interfaceTutorialStepInstance
 
 -