Interaction

data class Interaction(val texture: Identifier, val screenTitle: Text, val rawInteraction: RawInteraction?, val data: Any?)(source)

Interaction representation with a block entity or entity.

Parameters

texture

The texture to be replaced.

screenTitle

The active GUI screen's title

rawInteraction

The raw interaction from Minecraft containing the details. See RawInteraction documentation

data

The interaction data returned by the interaction data provider

See also

Constructors

Link copied to clipboard
constructor(texture: Identifier, screenTitle: Text, rawInteraction: RawInteraction?, data: Any?)

Properties

Link copied to clipboard
val data: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard