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(Input pInput)
      Handles the player movement
    • onMouse

      default void onMouse(double pVelocityX, double pVelocityY)
    • onLookAt

      default void onLookAt(ClientLevel pLevel, HitResult pResult)
      Handles blocks and entities hovering
    • onDestroyBlock

      default void onDestroyBlock(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage)
      Called when a player hits block to destroy it.
    • onOpenInventory

      default void onOpenInventory()
    • onGetItem

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