public class Tutorial
extends java.lang.Object
修飾子とタイプ | メソッドと説明 |
---|---|
static ITextComponent |
createKeybindComponent(java.lang.String keybind) |
GameType |
getGameType() |
Minecraft |
getMinecraft() |
void |
handleMovement(MovementInput p_193293_1_) |
void |
handleSetSlot(ItemStack stack)
Called when the player pick up an ItemStack
|
void |
onHitBlock(ClientWorld worldIn,
BlockPos pos,
BlockState state,
float diggingStage) |
void |
onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
void |
onMouseMove(double velocityX,
double velocityY) |
void |
openInventory()
Called when the player opens his inventory
|
void |
reload()
Reloads the tutorial step from the game settings
|
void |
setStep(TutorialSteps step)
Sets a new step to the tutorial
|
void |
stop() |
void |
tick() |
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)