Package net.minecraft.client.tutorial
Interface TutorialStepInstance
- All Known Implementing Classes:
CompletedTutorialStepInstance
,CraftPlanksTutorialStep
,FindTreeTutorialStepInstance
,MovementTutorialStepInstance
,OpenInventoryTutorialStep
,PunchTreeTutorialStepInstance
public interface TutorialStepInstance
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
clear()
default void
onDestroyBlock
(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) Called when a player hits block to destroy it.default void
Called when the player pick up an ItemStackdefault void
Handles the player movementdefault void
onLookAt
(ClientLevel level, HitResult result) Handles blocks and entities hoveringdefault void
onMouse
(double velocityX, double velocityY) default void
default void
tick()
-
Method Details
-
clear
default void clear() -
tick
default void tick() -
onInput
Handles the player movement -
onMouse
default void onMouse(double velocityX, double velocityY) -
onLookAt
Handles blocks and entities hovering -
onDestroyBlock
Called when a player hits block to destroy it. -
onOpenInventory
default void onOpenInventory() -
onGetItem
Called when the player pick up an ItemStack
-