Package net.minecraft.client.tutorial
Class CraftPlanksTutorialStepHandler
java.lang.Object
net.minecraft.client.tutorial.CraftPlanksTutorialStepHandler
- All Implemented Interfaces:
TutorialStepHandler
@Environment(CLIENT) public class CraftPlanksTutorialStepHandler 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
-
Constructor Summary
Constructors Constructor Description CraftPlanksTutorialStepHandler(TutorialManager manager)
-
Method Summary
Modifier and Type Method Description void
destroy()
static boolean
hasCrafted(ClientPlayerEntity player, Tag<Item> tag)
void
onSlotUpdate(ItemStack stack)
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, onTarget
-
Field Details
-
TITLE
-
DESCRIPTION
-
manager
-
toast
-
ticks
private int ticks
-
-
Constructor Details
-
CraftPlanksTutorialStepHandler
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTutorialStepHandler
-
destroy
public void destroy()- Specified by:
destroy
in interfaceTutorialStepHandler
-
onSlotUpdate
- Specified by:
onSlotUpdate
in interfaceTutorialStepHandler
-
hasCrafted
-