Package net.minecraft.client.tutorial
Class CraftPlanksTutorialStep
java.lang.Object
net.minecraft.client.tutorial.CraftPlanksTutorialStep
- All Implemented Interfaces:
TutorialStepInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final Componentprivate static final intprivate intprivate TutorialToastprivate final Tutorial -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static booleanhasCraftedPlanksPreviously(LocalPlayer pPlayer, TagKey<Item> pItems) voidCalled when the player pick up an ItemStackvoidtick()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.TutorialStepInstance
onDestroyBlock, onInput, onLookAt, onMouse, onOpenInventory
-
Field Details
-
HINT_DELAY
private static final int HINT_DELAY- See Also:
-
CRAFT_TITLE
-
CRAFT_DESCRIPTION
-
tutorial
-
toast
-
timeWaiting
private int timeWaiting
-
-
Constructor Details
-
CraftPlanksTutorialStep
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfaceTutorialStepInstance
-
clear
public void clear()- Specified by:
clearin interfaceTutorialStepInstance
-
onGetItem
Called when the player pick up an ItemStack- Specified by:
onGetItemin interfaceTutorialStepInstance
-
hasCraftedPlanksPreviously
-