Interface TutorialStepInstance

All Known Implementing Classes:
CompletedTutorialStepInstance, CraftPlanksTutorialStep, FindTreeTutorialStepInstance, MovementTutorialStepInstance, OpenInventoryTutorialStep, PunchTreeTutorialStepInstance

public interface TutorialStepInstance
  • Method Details

    • clear

      default void clear()
    • tick

      default void tick()
    • onInput

      default void onInput(ClientInput input)
    • onMouse

      default void onMouse(double xd, double yd)
    • onLookAt

      default void onLookAt(ClientLevel level, HitResult hit)
      Handles blocks and entities hovering
    • onDestroyBlock

      default void onDestroyBlock(ClientLevel level, BlockPos pos, BlockState state, float percent)
      Called when a player hits block to destroy it.
    • onOpenInventory

      default void onOpenInventory()
    • onGetItem

      default void onGetItem(ItemStack itemStack)
      Called when the player pick up an ItemStack