@Environment(value=CLIENT) public class FindTreeTutorialStepHandler extends Object implements TutorialStepHandler
| Modifier and Type | Field and 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 and Description |
|---|
FindTreeTutorialStepHandler(TutorialManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static boolean |
hasBrokenTreeBlocks(ClientPlayerEntity player) |
void |
onSlotUpdate(ItemStack stack) |
void |
onTarget(ClientWorld world,
HitResult hitResult) |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonBlockAttacked, onInventoryOpened, onMouseUpdate, onMovementprivate static final Text TITLE
private static final Text DESCRIPTION
private final TutorialManager manager
private TutorialToast toast
private int ticks
public FindTreeTutorialStepHandler(TutorialManager manager)
public void tick()
tick in interface TutorialStepHandlerpublic void destroy()
destroy in interface TutorialStepHandlerpublic void onTarget(ClientWorld world, HitResult hitResult)
onTarget in interface TutorialStepHandlerpublic void onSlotUpdate(ItemStack stack)
onSlotUpdate in interface TutorialStepHandlerpublic static boolean hasBrokenTreeBlocks(ClientPlayerEntity player)