Class PortalDevicePageSupplier
java.lang.Object
com.hypixel.hytale.builtin.portals.ui.PortalDevicePageSupplier
- All Implemented Interfaces:
OpenCustomUIInteraction.CustomPageSupplier
public class PortalDevicePageSupplier
extends Object
implements OpenCustomUIInteraction.CustomPageSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<PortalDevicePageSupplier> private PortalDeviceConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanisPortalWorldValid(World world) tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, PlayerRef playerRef, InteractionContext context)
-
Field Details
-
CODEC
-
config
-
-
Constructor Details
-
PortalDevicePageSupplier
public PortalDevicePageSupplier()
-
-
Method Details
-
tryCreate
public CustomUIPage tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, PlayerRef playerRef, InteractionContext context) - Specified by:
tryCreatein interfaceOpenCustomUIInteraction.CustomPageSupplier
-
isPortalWorldValid
-