IInteractor

public interface IInteractor(source)

Interface for signaling OptiGUI about interactions for texture replacing.

Functions

Link copied to clipboard
@NotNull()
public static @NotNull() IInteractor getInstance()
Returns the implementation of IInteractor.
Link copied to clipboard
public abstract boolean interact(@NotNull() @NotNull() Identifier container, @NotNull() @NotNull() PlayerEntity player, @NotNull() @NotNull() World world, @NotNull() @NotNull() Hand hand, @NotNull() @NotNull() IInteractionTarget target, @Nullable() @Nullable() HitResult hitResult)
Signals the texture replacer that an interaction has begun.