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 |
handleMouse(MouseHelper p_193299_1_) |
void |
handleMovement(MovementInput p_193293_1_) |
void |
handleSetSlot(ItemStack stack) |
void |
onHitBlock(WorldClient worldIn,
BlockPos pos,
IBlockState state,
float diggingStage) |
void |
onMouseHover(WorldClient worldIn,
RayTraceResult result) |
void |
openInventory() |
void |
reload() |
void |
setStep(TutorialSteps step) |
void |
stop() |
void |
update() |
private final Minecraft minecraft
@Nullable private ITutorialStep tutorialStep
public Tutorial(Minecraft minecraft)
public void handleMovement(MovementInput p_193293_1_)
public void handleMouse(MouseHelper p_193299_1_)
public void onMouseHover(@Nullable WorldClient worldIn, @Nullable RayTraceResult result)
public void onHitBlock(WorldClient worldIn, BlockPos pos, IBlockState state, float diggingStage)
public void openInventory()
public void handleSetSlot(ItemStack stack)
public void stop()
public void reload()
public void update()
public void setStep(TutorialSteps step)
public Minecraft getMinecraft()
public GameType getGameType()
public static ITextComponent createKeybindComponent(java.lang.String keybind)