classpublicabstractPriority 3
ChoiceElement
com.hypixel.hytale.server.core.entity.entities.player.pages.choices.ChoiceElement
7
Methods
7
Public Methods
4
Fields
2
Constructors
Constants
BuilderCodec<ChoiceElement>BASE_CODEC= BuilderCodec.abstractBuilder(ChoiceElement.class)
.append(
new KeyedCodec<>("Displ...
CodecMapCodec<ChoiceElement>CODEC= new CodecMapCodec<>("Type")
Constructors
protected
ChoiceElement()public
ChoiceElement(String displayNameKey, String descriptionKey, ChoiceInteraction[] interactions, ChoiceRequirement[] requirements)Methods
Public Methods (7)
public
void addButton(UICommandBuilder var1, UIEventBuilder var2, String var3, PlayerRef var4)public
boolean canFulfillRequirements(Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef)public
String getDescriptionKey()public
String getDisplayNameKey()public
ChoiceInteraction[] getInteractions()public
ChoiceRequirement[] getRequirements()public
String toString()@Nonnull@Override
Fields
Protected Fields (4)
protected
String descriptionKeyprotected
String displayNameKeyprotected
ChoiceInteraction[] interactionsprotected
ChoiceRequirement[] requirements