Package net.minecraft.client.tutorial
Class FindTreeTutorialStepHandler
java.lang.Object
net.minecraft.client.tutorial.FindTreeTutorialStepHandler
- All Implemented Interfaces:
TutorialStepHandler
@Environment(CLIENT) public class FindTreeTutorialStepHandler extends Object implements TutorialStepHandler
- Mappings:
Namespace Name official evt
intermediary net/minecraft/class_1152
named net/minecraft/client/tutorial/FindTreeTutorialStepHandler
-
Field Summary
Fields Modifier and Type Field Description private static Text
DESCRIPTION
private TutorialManager
manager
private int
ticks
private static Text
TITLE
private TutorialToast
toast
private static Set<Block>
TREE_BLOCKS
-
Constructor Summary
Constructors Constructor Description FindTreeTutorialStepHandler(TutorialManager manager)
-
Method Summary
Modifier and Type Method Description void
destroy()
static boolean
hasBrokenTreeBlocks(ClientPlayerEntity player)
void
onSlotUpdate(ItemStack stack)
void
onTarget(ClientWorld world, HitResult hitResult)
void
tick()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.tutorial.TutorialStepHandler
onBlockAttacked, onInventoryOpened, onMouseUpdate, onMovement
-
Field Details
-
TREE_BLOCKS
- Mappings:
Namespace Name Mixin selector official a
Levt;a:Ljava/util/Set;
intermediary field_5632
Lnet/minecraft/class_1152;field_5632:Ljava/util/Set;
named TREE_BLOCKS
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;TREE_BLOCKS:Ljava/util/Set;
-
TITLE
- Mappings:
Namespace Name Mixin selector official b
Levt;b:Loi;
intermediary field_5631
Lnet/minecraft/class_1152;field_5631:Lnet/minecraft/class_2561;
named TITLE
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;TITLE:Lnet/minecraft/text/Text;
-
DESCRIPTION
- Mappings:
Namespace Name Mixin selector official c
Levt;c:Loi;
intermediary field_5628
Lnet/minecraft/class_1152;field_5628:Lnet/minecraft/class_2561;
named DESCRIPTION
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;DESCRIPTION:Lnet/minecraft/text/Text;
-
manager
- Mappings:
Namespace Name Mixin selector official d
Levt;d:Levx;
intermediary field_5630
Lnet/minecraft/class_1152;field_5630:Lnet/minecraft/class_1156;
named manager
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;manager:Lnet/minecraft/client/tutorial/TutorialManager;
-
toast
- Mappings:
Namespace Name Mixin selector official e
Levt;e:Ldtd;
intermediary field_5633
Lnet/minecraft/class_1152;field_5633:Lnet/minecraft/class_372;
named toast
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;toast:Lnet/minecraft/client/toast/TutorialToast;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official f
Levt;f:I
intermediary field_5629
Lnet/minecraft/class_1152;field_5629:I
named ticks
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;ticks:I
-
-
Constructor Details
-
FindTreeTutorialStepHandler
- Mappings:
Namespace Name Mixin selector official <init>
Levt;<init>(Levx;)V
intermediary <init>
Lnet/minecraft/class_1152;<init>(Lnet/minecraft/class_1156;)V
named <init>
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;<init>(Lnet/minecraft/client/tutorial/TutorialManager;)V
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTutorialStepHandler
- Mappings:
Namespace Name Mixin selector official a
Levy;a()V
intermediary method_4899
Lnet/minecraft/class_1155;method_4899()V
named tick
Lnet/minecraft/client/tutorial/TutorialStepHandler;tick()V
-
destroy
public void destroy()- Specified by:
destroy
in interfaceTutorialStepHandler
- Mappings:
Namespace Name Mixin selector official b
Levy;b()V
intermediary method_4902
Lnet/minecraft/class_1155;method_4902()V
named destroy
Lnet/minecraft/client/tutorial/TutorialStepHandler;destroy()V
-
onTarget
- Specified by:
onTarget
in interfaceTutorialStepHandler
- Mappings:
Namespace Name Mixin selector official a
Levy;a(Ledy;Ldis;)V
intermediary method_4898
Lnet/minecraft/class_1155;method_4898(Lnet/minecraft/class_638;Lnet/minecraft/class_239;)V
named onTarget
Lnet/minecraft/client/tutorial/TutorialStepHandler;onTarget(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/util/hit/HitResult;)V
-
onSlotUpdate
- Specified by:
onSlotUpdate
in interfaceTutorialStepHandler
- Mappings:
Namespace Name Mixin selector official a
Levy;a(Lbnv;)V
intermediary method_4897
Lnet/minecraft/class_1155;method_4897(Lnet/minecraft/class_1799;)V
named onSlotUpdate
Lnet/minecraft/client/tutorial/TutorialStepHandler;onSlotUpdate(Lnet/minecraft/item/ItemStack;)V
-
hasBrokenTreeBlocks
- Mappings:
Namespace Name Mixin selector official a
Levt;a(Legw;)Z
intermediary method_4896
Lnet/minecraft/class_1152;method_4896(Lnet/minecraft/class_746;)Z
named hasBrokenTreeBlocks
Lnet/minecraft/client/tutorial/FindTreeTutorialStepHandler;hasBrokenTreeBlocks(Lnet/minecraft/client/network/ClientPlayerEntity;)Z
-