InteractionService

Interface for triggering interactions for texture replacing

Functions

Link copied to clipboard
abstract fun interact(player: PlayerEntity, world: World, hand: Hand, target: InteractionTarget, hitResult: HitResult?): Boolean

Signals the texture replacer that an interaction has begun. Should be called before opening a GUI.