IInteractor
Interface for signaling OptiGUI about interactions for texture replacing.
Functions
Link copied to clipboard
Returns the implementation of IInteractor.
Link copied to clipboard
abstract fun interact(@NotNull container: @NotNull Identifier, @NotNull player: @NotNull PlayerEntity, @NotNull world: @NotNull World, @NotNull hand: @NotNull Hand, @NotNull target: @NotNull IInteractionTarget, @Nullable hitResult: @Nullable HitResult): Boolean
Signals the texture replacer that an interaction has begun.