mirror of https://github.com/FabricMC/yarn.git
68 lines
2.8 KiB
Plaintext
68 lines
2.8 KiB
Plaintext
CLASS net/minecraft/class_1156 net/minecraft/client/tutorial/TutorialManager
|
|
FIELD field_26893 entries Ljava/util/List;
|
|
FIELD field_28801 bundleTutorial Lnet/minecraft/class_5829;
|
|
FIELD field_5645 client Lnet/minecraft/class_310;
|
|
FIELD field_5646 currentHandler Lnet/minecraft/class_1155;
|
|
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_315;)V
|
|
ARG 1 client
|
|
ARG 2 options
|
|
METHOD method_31364 remove (Lnet/minecraft/class_372;)V
|
|
COMMENT Removes an active tutorial from this manager if it's present and hides
|
|
COMMENT the toast.
|
|
ARG 1 toast
|
|
COMMENT the tutorial toast
|
|
METHOD method_31365 add (Lnet/minecraft/class_372;I)V
|
|
COMMENT Adds an active tutorial entry to this manager and the corresponding toast
|
|
COMMENT to the client's toast manager.
|
|
ARG 1 toast
|
|
COMMENT the tutorial toast
|
|
ARG 2 ticks
|
|
COMMENT the time the toast will last, in client ticks
|
|
METHOD method_31366 (Lnet/minecraft/class_372;Lnet/minecraft/class_1156$class_5524;)Z
|
|
ARG 1 entry
|
|
METHOD method_33704 onPickupSlotClick (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)V
|
|
COMMENT Called when a player performs a {@link net.minecraft.screen.slot.SlotActionType#PICKUP
|
|
COMMENT pickup slot action} in a screen handler. Used to trigger the bundle tutorial.
|
|
COMMENT
|
|
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#onPickupSlotClick(ItemStack, ItemStack, ClickType)
|
|
ARG 1 cursorStack
|
|
ARG 2 slotStack
|
|
ARG 3 clickType
|
|
METHOD method_4905 isInSurvival ()Z
|
|
COMMENT {@return whether the current game mode of the client is {@linkplain net.minecraft.world.GameMode#SURVIVAL survival}}
|
|
METHOD method_4906 onSlotUpdate (Lnet/minecraft/class_1799;)V
|
|
ARG 1 stack
|
|
METHOD method_4907 onBlockBreaking (Lnet/minecraft/class_638;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;F)V
|
|
ARG 1 world
|
|
ARG 2 pos
|
|
ARG 3 state
|
|
ARG 4 progress
|
|
METHOD method_4908 onUpdateMouse (DD)V
|
|
ARG 1 deltaX
|
|
ARG 3 deltaY
|
|
METHOD method_4909 onMovement (Lnet/minecraft/class_744;)V
|
|
ARG 1 input
|
|
METHOD method_4910 setStep (Lnet/minecraft/class_1157;)V
|
|
ARG 1 step
|
|
METHOD method_4911 tick (Lnet/minecraft/class_638;Lnet/minecraft/class_239;)V
|
|
ARG 1 world
|
|
ARG 2 hitResult
|
|
METHOD method_4912 onInventoryOpened ()V
|
|
METHOD method_4913 keyToText (Ljava/lang/String;)Lnet/minecraft/class_2561;
|
|
ARG 0 name
|
|
METHOD method_4914 getClient ()Lnet/minecraft/class_310;
|
|
METHOD method_4915 destroyHandler ()V
|
|
METHOD method_4916 createHandler ()V
|
|
METHOD method_4917 tick ()V
|
|
CLASS class_5524 Entry
|
|
FIELD field_26894 toast Lnet/minecraft/class_372;
|
|
FIELD field_26895 expiry I
|
|
FIELD field_26896 age I
|
|
METHOD <init> (Lnet/minecraft/class_372;I)V
|
|
ARG 1 toast
|
|
ARG 2 expiry
|
|
METHOD method_31368 tick ()Z
|
|
COMMENT Ticks this entry on a client tick.
|
|
COMMENT
|
|
COMMENT @return {@code true} if this entry should no longer tick
|