@Environment(value=CLIENT) public class TutorialManager extends Object
| Modifier and Type | Field and Description |
|---|---|
private MinecraftClient |
client |
private TutorialStepHandler |
currentHandler |
| 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 |
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
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 tick()
public void setStep(TutorialStep step)
public MinecraftClient getClient()
public GameMode getGameMode()