Contents
Class ConfirmationPageSupplier
java.lang.Object
com.hypixel.hytale.server.core.modules.interaction.suppliers.ConfirmationPageSupplier
- All Implemented Interfaces:
OpenCustomUIInteraction.CustomPageSupplier
public class ConfirmationPageSupplier
extends Object
implements OpenCustomUIInteraction.CustomPageSupplier
Opens a
ConfirmationPage with the text and root interactions from its config:
"Page": { "Id": "Confirmation", "TitleKey": ..., "MessageKey": ..., "ConfirmKey": ..., "CancelKey": ..., "Success": ... }.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context)
-
Field Details
-
CODEC
-
-
Constructor Details
-
ConfirmationPageSupplier
public ConfirmationPageSupplier()
-
-
Method Details
-
tryCreate
@Nullable public CustomUIPage tryCreate(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor, @Nonnull PlayerRef playerRef, @Nonnull InteractionContext context) - Specified by:
tryCreatein interfaceOpenCustomUIInteraction.CustomPageSupplier
-