InteractionService

public interface InteractionService(source)

Interface for triggering interactions for texture replacing

Functions

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

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