Package net.minecraft.client.tutorial
Class FindTreeTutorialStepHandler
java.lang.Object
net.minecraft.client.tutorial.FindTreeTutorialStepHandler
- All Implemented Interfaces:
TutorialStepHandler
@Environment(CLIENT) public class FindTreeTutorialStepHandler extends Object implements TutorialStepHandler
-
Field Summary
Fields Modifier and Type Field Description private static TextDESCRIPTIONprivate TutorialManagermanagerprivate intticksprivate static TextTITLEprivate TutorialToasttoastprivate static Set<Block>TREE_BLOCKS -
Constructor Summary
Constructors Constructor Description FindTreeTutorialStepHandler(TutorialManager manager) -
Method Summary
Modifier and Type Method Description voiddestroy()static booleanhasBrokenTreeBlocks(ClientPlayerEntity player)voidonSlotUpdate(ItemStack stack)voidonTarget(ClientWorld world, HitResult hitResult)voidtick()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.TutorialStepHandler
onBlockAttacked, onInventoryOpened, onMouseUpdate, onMovement
-
Field Details
-
TREE_BLOCKS
-
TITLE
-
DESCRIPTION
-
manager
-
toast
-
ticks
private int ticks
-
-
Constructor Details
-
FindTreeTutorialStepHandler
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfaceTutorialStepHandler
-
destroy
public void destroy()- Specified by:
destroyin interfaceTutorialStepHandler
-
onTarget
- Specified by:
onTargetin interfaceTutorialStepHandler
-
onSlotUpdate
- Specified by:
onSlotUpdatein interfaceTutorialStepHandler
-
hasBrokenTreeBlocks
-