public class Tutorial
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Minecraft |
minecraft |
private ITutorialStep |
tutorialStep |
Modifier and Type | Method and Description |
---|---|
static ITextComponent |
createKeybindComponent(java.lang.String keybind) |
GameType |
getGameType() |
Minecraft |
getMinecraft() |
void |
handleMovement(MovementInput p_193293_1_) |
void |
handleSetSlot(ItemStack stack) |
void |
onHitBlock(ClientWorld worldIn,
BlockPos pos,
BlockState state,
float diggingStage) |
void |
onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
void |
onMouseMove(double velocityX,
double velocityY) |
void |
openInventory() |
void |
reload() |
void |
setStep(TutorialSteps step) |
void |
stop() |
void |
tick() |
private final Minecraft minecraft
@Nullable private ITutorialStep tutorialStep
public Tutorial(Minecraft minecraft)
public void handleMovement(MovementInput p_193293_1_)
public void onMouseMove(double velocityX, double velocityY)
public void onMouseHover(@Nullable ClientWorld worldIn, @Nullable RayTraceResult result)
public void onHitBlock(ClientWorld worldIn, BlockPos pos, BlockState state, float diggingStage)
public void openInventory()
public void handleSetSlot(ItemStack stack)
public void stop()
public void reload()
public void tick()
public void setStep(TutorialSteps step)
public Minecraft getMinecraft()
public GameType getGameType()
public static ITextComponent createKeybindComponent(java.lang.String keybind)