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 ITextComponent
DESCRIPTION
private int
timeWaiting
private static ITextComponent
TITLE
private TutorialToast
toast
private static java.util.Set<Block>
TREE_BLOCKS
private Tutorial
tutorial
-
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 void
clear()
static boolean
hasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_)
void
onGetItem(ItemStack p_193252_1_)
void
onLookAt(ClientWorld p_193246_1_, RayTraceResult p_193246_2_)
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.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:
tick
in interfaceITutorialStep
-
clear
public void clear()
- Specified by:
clear
in interfaceITutorialStep
-
onLookAt
public void onLookAt(ClientWorld p_193246_1_, RayTraceResult p_193246_2_)
- Specified by:
onLookAt
in interfaceITutorialStep
-
onGetItem
public void onGetItem(ItemStack p_193252_1_)
- Specified by:
onGetItem
in interfaceITutorialStep
-
hasPunchedTreesPreviously
public static boolean hasPunchedTreesPreviously(ClientPlayerEntity p_194070_0_)
-
-