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 Text
DESCRIPTION
private TutorialManager
manager
private int
ticks
private static Text
TITLE
private TutorialToast
toast
private static Set<Block>
TREE_BLOCKS
-
Constructor Summary
Constructors Constructor Description FindTreeTutorialStepHandler(TutorialManager manager)
-
Method Summary
Modifier and Type Method Description void
destroy()
static boolean
hasBrokenTreeBlocks(ClientPlayerEntity player)
void
onSlotUpdate(ItemStack stack)
void
onTarget(ClientWorld world, HitResult hitResult)
void
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.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:
tick
in interfaceTutorialStepHandler
-
destroy
public void destroy()- Specified by:
destroy
in interfaceTutorialStepHandler
-
onTarget
- Specified by:
onTarget
in interfaceTutorialStepHandler
-
onSlotUpdate
- Specified by:
onSlotUpdate
in interfaceTutorialStepHandler
-
hasBrokenTreeBlocks
-