Contents
Class PointInspectorPage
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage<PointInspectorPage.PageData>
com.hypixel.hytale.builtin.points.ui.PointInspectorPage
Server-driven point browser/inspector. The left pane lists every point in the selected world,
filterable by id, name, tag key, or tag value; the right pane edits the selected point's display
name and key/value tags. Modeled on the trigger volume inspector and reuses its browse-row and
tag-chip markup. Selecting a row syncs the in-world tool selection so the gizmo follows.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPointInspectorPage(PlayerRef playerRef, String selectedWorld, String pointId) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(Ref<EntityStore> ref, UICommandBuilder cmd, UIEventBuilder evt, Store<EntityStore> store) Called to build this pagevoidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, PointInspectorPage.PageData data) Called to handle a data event for this pagevoidonDismiss(Ref<EntityStore> ref, Store<EntityStore> store) Called when this page is dismissedMethods inherited from class InteractiveCustomUIPage
handleDataEventMethods inherited from class CustomUIPage
getLifetime, setLifetime
-
Constructor Details
-
PointInspectorPage
-
-
Method Details
-
build
public void build(@Nonnull Ref<EntityStore> ref, @Nonnull UICommandBuilder cmd, @Nonnull UIEventBuilder evt, @Nonnull Store<EntityStore> store) Description copied from class:CustomUIPageCalled to build this page- Specified by:
buildin classCustomUIPage- Parameters:
ref- The entity ref of the affiliated playercmd- The command builder used while building this UIevt- The event builder used while building this UIstore- The entity store for component access
-
onDismiss
Description copied from class:CustomUIPageCalled when this page is dismissed- Overrides:
onDismissin classCustomUIPage
-
handleDataEvent
public void handleDataEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull PointInspectorPage.PageData data) Description copied from class:InteractiveCustomUIPageCalled to handle a data event for this page- Overrides:
handleDataEventin classInteractiveCustomUIPage<PointInspectorPage.PageData>- Parameters:
ref- The entity reference of the affiliated entitystore- The entity store for component accessdata- The data event to handle
-