Displays android.app.AlertDialog with given message and dialog title.
Message can be mixed with HTML-like formatting,
for example <b>I'm a bold</b><br/><i>I'm a italic</i>
.
message to be displayed
title before message
Current game difficulty, one of the EGameDifficulty values.
Current level game mode, one of the EGameMode values.
Retrieves option by requested name, which instance could be used for getting values.
option name, suitable names could be found in your "options.txt" file or via Game.getOptions
Fetches available option names, which can be used to obtain values via Game.getOption.
true
if the current callback function has already been
prevented from being called in Minecraft using Game.prevent,
false
otherwise.
Allows you to determine whether current instance of game has a client or not (clientless game requires a server core, e.g. Zote Core (GitHub)).
Writes message to the chat. Message can be formatted using EColor values.
message to be displayed
Sets game difficulty, one of EGameDifficulty values.
game difficulty to be set
Sets current level game mode.
new game mode, should be one of the EGameMode values
Writes message above the hot bar. Message can be formatted using EColor values.
message to be displayed
Option types, which can be used to determine option data:
Type | Name | Description |
---|---|---|
0 | None | Internal type, it cannot be used. |
1 | Boolean | true or false switch. |
2 | Float | Field with float value. |
3 | Float Slider | Slider with float value in specified ranges. |
4 | String | Field with string text value. |
5 | Int | Field with integer value. |
6 | Int Slider | Slider with integer value in specified ranges. |
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Module that provides some general game-related functions.