@Environment(value=CLIENT) public class TutorialManager extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TutorialManager.class_5524 |
Modifier and Type | Field and Description |
---|---|
private MinecraftClient |
client |
private TutorialStepHandler |
currentHandler |
private List<TutorialManager.class_5524> |
field_26893 |
Constructor and Description |
---|
TutorialManager(MinecraftClient client) |
Modifier and Type | Method and Description |
---|---|
void |
createHandler() |
void |
destroyHandler() |
MinecraftClient |
getClient() |
GameMode |
getGameMode() |
static Text |
getKeybindName(String string) |
void |
method_31364(TutorialToast tutorialToast) |
void |
method_31365(TutorialToast tutorialToast,
int int2) |
void |
onBlockAttacked(ClientWorld world,
BlockPos pos,
BlockState state,
float float2) |
void |
onInventoryOpened() |
void |
onMovement(Input input) |
void |
onSlotUpdate(ItemStack stack) |
void |
onUpdateMouse(double deltaX,
double deltaY) |
void |
setStep(TutorialStep step) |
void |
tick() |
void |
tick(ClientWorld world,
HitResult hitResult) |
private final MinecraftClient client
@Nullable private TutorialStepHandler currentHandler
private List<TutorialManager.class_5524> field_26893
public TutorialManager(MinecraftClient client)
public void onMovement(Input input)
public void onUpdateMouse(double deltaX, double deltaY)
public void tick(@Nullable ClientWorld world, @Nullable HitResult hitResult)
public void onBlockAttacked(ClientWorld world, BlockPos pos, BlockState state, float float2)
public void onInventoryOpened()
public void onSlotUpdate(ItemStack stack)
public void destroyHandler()
public void createHandler()
public void method_31365(TutorialToast tutorialToast, int int2)
public void method_31364(TutorialToast tutorialToast)
public void tick()
public void setStep(TutorialStep step)
public MinecraftClient getClient()
public GameMode getGameMode()