IMinecraft

@NullMarked
interface IMinecraft(source)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun copyFromClipboard(): String
Link copied to clipboard
abstract fun copyToClipboard(string: String)
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Internal
@Nullable
abstract fun createStructuredTextInternal(object: Any): @Nullable StructuredText
Create a structured text from an untyped platform object.
Link copied to clipboard
Link copied to clipboard
Dynamically load a buffered image into a minecraft bindable texture.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getKeyName(keyCode: Int): StructuredText
Link copied to clipboard
abstract 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
abstract fun getScaledHeight(): Int
Link copied to clipboard
abstract fun getScaledWidth(): Int
Link copied to clipboard
abstract fun getScaleFactor(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun isGeneratedSentinel(resourceLocation: MyResourceLocation): Boolean
Link copied to clipboard
abstract fun isKeyboardKeyDown(keyCode: Int): Boolean
Link copied to clipboard
abstract fun isMouseButtonDown(mouseButton: Int): Boolean
Link copied to clipboard
abstract fun isOnMacOs(): Boolean
Link copied to clipboard
abstract fun loadResourceLocation(resourceLocation: MyResourceLocation): InputStream
Link copied to clipboard
open fun openWrappedScreen(component: GuiComponent)
abstract fun openWrappedScreen(guiContext: GuiContext)
open fun openWrappedScreen(guiElement: GuiElement)
Link copied to clipboard
This is a method to provide a render context.
Link copied to clipboard
@ApiStatus.Experimental
abstract fun registerPlatformTypeMorphisms(universe: XMLUniverse)
Link copied to clipboard
open fun sendChatMessage(message: StructuredText)
Link copied to clipboard
abstract fun sendClickableChatMessage(message: StructuredText, action: String, @Nullable clickType: @Nullable ClickType)