Interface DialogueCondition

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DialogueCondition
A named predicate controlling whether a node or option is accessible. Registered via DialogueManager.registerCondition(String, DialogueCondition).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.server.level.ServerPlayer player, DialogueSession session)
     
  • Method Details

    • test

      boolean test(net.minecraft.server.level.ServerPlayer player, DialogueSession session)