Package net.minecraft.client.tutorial
Class FindTreeStep
- java.lang.Object
-
- net.minecraft.client.tutorial.FindTreeStep
-
- All Implemented Interfaces:
ITutorialStep
public class FindTreeStep extends java.lang.Object implements ITutorialStep
-
-
Field Summary
Fields Modifier and Type Field Description private static ITextComponentDESCRIPTIONprivate inttimeWaitingprivate static ITextComponentTITLEprivate TutorialToasttoastprivate static java.util.Set<Block>TREE_BLOCKSprivate Tutorialtutorial
-
Constructor Summary
Constructors Constructor Description FindTreeStep(Tutorial p_i47582_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()static booleanhasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_)voidonGetItem(ItemStack p_193252_1_)voidonLookAt(ClientWorld p_193246_1_, RayTraceResult p_193246_2_)voidtick()-
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.ITutorialStep
onDestroyBlock, onInput, onMouse, onOpenInventory
-
-
-
-
Field Detail
-
TREE_BLOCKS
private static final java.util.Set<Block> TREE_BLOCKS
-
TITLE
private static final ITextComponent TITLE
-
DESCRIPTION
private static final ITextComponent DESCRIPTION
-
tutorial
private final Tutorial tutorial
-
toast
private TutorialToast toast
-
timeWaiting
private int timeWaiting
-
-
Constructor Detail
-
FindTreeStep
public FindTreeStep(Tutorial p_i47582_1_)
-
-
Method Detail
-
tick
public void tick()
- Specified by:
tickin interfaceITutorialStep
-
clear
public void clear()
- Specified by:
clearin interfaceITutorialStep
-
onLookAt
public void onLookAt(ClientWorld p_193246_1_, RayTraceResult p_193246_2_)
- Specified by:
onLookAtin interfaceITutorialStep
-
onGetItem
public void onGetItem(ItemStack p_193252_1_)
- Specified by:
onGetItemin interfaceITutorialStep
-
hasPunchedTreesPreviously
public static boolean hasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_)
-
-