Interaction

public final class Interaction(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
public Interaction Interaction(Identifier texture, Text screenTitle, RawInteraction rawInteraction, Object data)

Properties

Link copied to clipboard
private final Object data
Link copied to clipboard
Link copied to clipboard
private final Text screenTitle
Link copied to clipboard
private final Identifier texture

Functions

Link copied to clipboard
public final Object getData()
Link copied to clipboard
Link copied to clipboard
public final Text getScreenTitle()
Link copied to clipboard
public final Identifier getTexture()