Uses of Class
com.hypixel.hytale.builtin.adventure.shop.barter.BarterTrade
Packages that use BarterTrade
-
Uses of BarterTrade in com.hypixel.hytale.builtin.adventure.shop.barter
Fields in com.hypixel.hytale.builtin.adventure.shop.barter declared as BarterTradeModifier and TypeFieldDescriptionstatic final BarterTrade[]BarterShopState.ShopInstanceState.BARTER_TRADESFields in com.hypixel.hytale.builtin.adventure.shop.barter with type parameters of type BarterTradeMethods in com.hypixel.hytale.builtin.adventure.shop.barter that return BarterTradeModifier and TypeMethodDescriptionBarterShopState.getResolvedTrades(BarterShopAsset asset, Instant gameTime) Get the resolved trades for a shop.BarterShopState.ShopInstanceState.getResolvedTrades(BarterShopAsset asset) Get or resolve trades for a shop.FixedTradeSlot.getTrade()BarterShopAsset.getTrades()WeightedTrade.toBarterTrade()Deprecated.WeightedTrade.toBarterTrade(Random random) Convert this weighted trade to a concrete BarterTrade with resolved stock.Methods in com.hypixel.hytale.builtin.adventure.shop.barter that return types with arguments of type BarterTradeModifier and TypeMethodDescriptionabstract List<BarterTrade> Resolve this slot into concrete trades.Constructors in com.hypixel.hytale.builtin.adventure.shop.barter with parameters of type BarterTradeModifierConstructorDescriptionBarterShopAsset(String id, String displayNameKey, RefreshInterval refreshInterval, BarterTrade[] trades, TradeSlot[] tradeSlots, Integer restockHour) FixedTradeSlot(BarterTrade trade)
WeightedTrade.toBarterTrade(Random)for proper range support