@Environment(value=CLIENT) public class CraftPlanksTutorialStepHandler 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 |
Constructor and Description |
---|
CraftPlanksTutorialStepHandler(TutorialManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
static boolean |
hasCrafted(ClientPlayerEntity player,
Tag<Item> tag) |
void |
onSlotUpdate(ItemStack stack) |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onBlockAttacked, onInventoryOpened, onMouseUpdate, onMovement, onTarget
private static final Text TITLE
private static final Text DESCRIPTION
private final TutorialManager manager
private TutorialToast toast
private int ticks
public CraftPlanksTutorialStepHandler(TutorialManager manager)
public void tick()
tick
in interface TutorialStepHandler
public void destroy()
destroy
in interface TutorialStepHandler
public void onSlotUpdate(ItemStack stack)
onSlotUpdate
in interface TutorialStepHandler
public static boolean hasCrafted(ClientPlayerEntity player, Tag<Item> tag)