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 Component
private static final int
private int
private int
private static final Component
private TutorialToast
private final Tutorial
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.void
Called when the player pick up an ItemStackvoid
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
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:
tick
in interfaceTutorialStepInstance
-
clear
public void clear()- Specified by:
clear
in interfaceTutorialStepInstance
-
onDestroyBlock
public void onDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.- Specified by:
onDestroyBlock
in interfaceTutorialStepInstance
-
onGetItem
Called when the player pick up an ItemStack- Specified by:
onGetItem
in interfaceTutorialStepInstance
-