ItemRepairPageSupplier

public class ItemRepairPageSupplier implements OpenCustomUIInteraction.CustomPageSupplier

Class ItemRepairPageSupplier. Provides itemrepairpagesupplier functionality for the Hytale server.

java.lang.Object > ItemRepairPageSupplier

Field Summary

repairPenalty

protected double repairPenalty

Field repairPenalty.

playerComponent

final Player playerComponent

Field playerComponent.

itemContext

final ItemContext itemContext

Field itemContext.

Method Detail

tryCreate

Method tryCreate.

Parameters:
@Nonnull final Ref ref
@Nonnull final ComponentAccessor componentAccessor
@Nonnull final PlayerRef playerRef
@Nonnull final InteractionContext context

ItemRepairPage

public new ItemRepairPage (playerRef, playerComponent.getInventory()

Method ItemRepairPage.

Parameters:
playerRef playerRef
playerComponent.getInventory( playerComponent.getInventory(