MoulConfigPlatform

@NullMarked
open class MoulConfigPlatform : IMinecraft

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
@Nullable
open var instance: @Nullable MoulConfigPlatform

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun copyToClipboard(string: String)
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun createStructuredTextInternal(obj: Any): @Nullable StructuredText
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getKeyName(keyCode: Int): StructuredText
Link copied to clipboard
open fun getLogger(label: String): MCLogger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMouseX(): Int
Link copied to clipboard
open fun getMouseXHF(): Double
Link copied to clipboard
open fun getMouseY(): Int
Link copied to clipboard
open fun getMouseYHF(): Double
Link copied to clipboard
open fun getScaledHeight(): Int
Link copied to clipboard
open fun getScaledWidth(): Int
Link copied to clipboard
open fun getScaleFactor(): Int
Link copied to clipboard
Link copied to clipboard
open fun isGeneratedSentinel(resourceLocation: MyResourceLocation): Boolean
Link copied to clipboard
open fun isKeyboardKeyDown(keyboardKey: Int): Boolean
Link copied to clipboard
open fun isMouseButtonDown(mouseButton: Int): Boolean
Link copied to clipboard
open fun isOnMacOs(): Boolean
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Internal
open fun makeDrawContext(): DrawContext
Link copied to clipboard
open fun openWrappedScreen(guiElement: GuiElement)
open fun openWrappedScreen(screen: Screen)
Link copied to clipboard
open fun sendChatMessage(message: StructuredText)
Link copied to clipboard
open fun sendClickableChatMessage(message: StructuredText, action: String, @Nullable type: @Nullable ClickType)
Link copied to clipboard
open fun unwrap(fontRenderer: IFontRenderer): TextRenderer
open fun unwrap(itemStack: IItemStack): ItemStack
open fun unwrap(resourceLocation: MyResourceLocation): Identifier
open fun unwrap(structuredText: StructuredText): Text
Link copied to clipboard
open fun wrap(font: TextRenderer): IFontRenderer
open fun wrap(itemStack: ItemStack): IItemStack
open fun wrap(text: MutableText): StructuredText.Mutable
open fun wrap(text: Text): StructuredText
open fun wrap(identifier: Identifier): MyResourceLocation