Skip to content

DialogPage

Package: com.hypixel.hytale.builtin.adventure.objectives

public class DialogPage extends InteractiveCustomUIPage<DialogPage.DialogPageEventData>

A custom UI page that displays an NPC dialog during a use-entity objective task. Shows an entity name and dialog text, with a close button that dismisses the page.

ModifierReturn TypeSignature
publicvoidbuild( Ref<EntityStore> ref, UICommandBuilder commandBuilder, UIEventBuilder eventBuilder, Store<EntityStore> store )
publicvoidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, DialogPage.DialogPageEventData data)
public static finalBuilderCodec<DialogPage.DialogPageEventData> CODEC =BuilderCodec.builder( DialogPage.DialogPageEventData.class, DialogPage.DialogPageEventData::new )
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.