Minecraft class Null safety

Includes all Minecraft and Minecraft Launcher specific functionality.

Annotations

Constructors

Minecraft()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

getNews() Future<List<MinecraftNews>>
Returns a List of the most recent news for Minecraft. [...]
getPatchNotes() Future<List<MinecraftPatch>>
Returns a List of the most recent patch notes for Minecraft: Java Edition. [...]
getVersions() Future<VersionManifest>
Returns a Manifest with all Minecraft: Java Edition Versions, including alpha/beta and snapshot versions.