Package-level declarations

Types

Link copied to clipboard
public interface BlockEntityPreprocessor

A block entity preprocessor, which extracts information from a block entity for further processing by filters. This class provides Interaction.data (converts a block entity to an object, where properties of the block entity are stored, which will be processed by filters supporting it).

Link copied to clipboard
public interface EntityPreprocessor

An entity preprocessor, which extracts information from an entity for further processing by filters. This class provides Interaction.data (converts an entity to an object, where properties of the entity are stored, which will be processed by filters supporting it).

Link copied to clipboard
public final class Interaction

Interaction representation with a block entity or entity.

Link copied to clipboard
public interface InteractionTarget

Represents the target of an interaction. See nested classes for available options.

Link copied to clipboard
public class Preprocessors

Interface to registered BlockEntityPreprocessor and EntityPreprocessor instances.

Link copied to clipboard
public final class RawInteraction

Raw interaction details. When using preprocessors, this is likely unnecessary. Only required, when entities and block entities are unavailable (for example, anvils, and many villager job sites). Unavailable for ridden entities.