PurchaseHandler

public final class PurchaseHandler

Pure logic for attempting a purchase. The shop menu interprets the Result and renders the matching configurable message.

Types

Link copied to clipboard
public final class Outcome
Link copied to clipboard
public enum Result

Functions

Link copied to clipboard
public static PurchaseHandler.Outcome attempt(Player player, PropRecipeConfig recipe)