Klasse DialogueNode

java.lang.Object
de.luckymcdev.foundryengine.common.dialogue.DialogueNode

public class DialogueNode extends Object
A single node in a dialogue tree. Contains speaker text, options, enter actions, and conditions. Supports narrative-only flow via nextNodeId.
  • Konstruktordetails

  • Methodendetails

    • fromNbt

      public static DialogueNode fromNbt(net.minecraft.nbt.CompoundTag tag)
    • toNbt

      public net.minecraft.nbt.CompoundTag toNbt()
    • getId

      public String getId()
    • getSpeaker

      public String getSpeaker()
    • getText

      public String getText()
    • getSpeakerColor

      public int getSpeakerColor()
    • getNextNodeId

      public String getNextNodeId()
    • setNextNodeId

      public void setNextNodeId(String nextNodeId)
    • getOptions

      public List<DialogueOption> getOptions()
    • getEnterActionIds

      public List<String> getEnterActionIds()
    • getConditionIds

      public List<String> getConditionIds()