RunnableClickEvent

class RunnableClickEvent : Record, ClickEvent, Runnable

Allows net.minecraft.network.chat.MutableComponent to execute anything on click.

Known issue: This type cannot be resolved with CODEC.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val CODEC: Codec<ClickEvent>

Functions

Link copied to clipboard
open fun action(): ClickEvent.Action
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun run()
Link copied to clipboard
abstract fun toString(): String