Class TeleporterSettingsPageSupplier
java.lang.Object
com.hypixel.hytale.builtin.adventure.teleporter.page.TeleporterSettingsPageSupplier
- All Implemented Interfaces:
OpenCustomUIInteraction.CustomPageSupplier
public class TeleporterSettingsPageSupplier
extends Object
implements OpenCustomUIInteraction.CustomPageSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringstatic final BuilderCodec<TeleporterSettingsPageSupplier> private booleanprivate com.hypixel.hytale.builtin.adventure.teleporter.page.TeleporterSettingsPage.Mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context)
-
Field Details
-
CODEC
-
create
private boolean create -
mode
private com.hypixel.hytale.builtin.adventure.teleporter.page.TeleporterSettingsPage.Mode mode -
activeState
-
-
Constructor Details
-
TeleporterSettingsPageSupplier
public TeleporterSettingsPageSupplier()
-
-
Method Details
-
tryCreate
@Nullable public CustomUIPage tryCreate(@Nonnull Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, @Nonnull PlayerRef playerRef, @Nonnull InteractionContext context) - Specified by:
tryCreatein interfaceOpenCustomUIInteraction.CustomPageSupplier
-