Class ItemRepairPageSupplier
java.lang.Object
com.hypixel.hytale.server.core.modules.interaction.suppliers.ItemRepairPageSupplier
- All Implemented Interfaces:
OpenCustomUIInteraction.CustomPageSupplier
public class ItemRepairPageSupplier
extends Object
implements OpenCustomUIInteraction.CustomPageSupplier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<ItemRepairPageSupplier> protected double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context)
-
Field Details
-
CODEC
-
repairPenalty
protected double repairPenalty
-
-
Constructor Details
-
ItemRepairPageSupplier
public ItemRepairPageSupplier()
-
-
Method Details
-
tryCreate
public CustomUIPage tryCreate(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor, @Nonnull PlayerRef playerRef, @Nonnull InteractionContext context) - Specified by:
tryCreatein interfaceOpenCustomUIInteraction.CustomPageSupplier
-