Uses of Class
com.hypixel.hytale.builtin.adventure.shop.barter.BarterShopAsset
Packages that use BarterShopAsset
-
Uses of BarterShopAsset in com.hypixel.hytale.builtin.adventure.shop.barter
Classes in com.hypixel.hytale.builtin.adventure.shop.barter that implement interfaces with type arguments of type BarterShopAssetModifier and TypeClassDescriptionclassAsset definition for a barter shop, containing trades and refresh settings.Fields in com.hypixel.hytale.builtin.adventure.shop.barter with type parameters of type BarterShopAssetModifier and TypeFieldDescriptionstatic final AssetBuilderCodec<String, BarterShopAsset> BarterShopAsset.CODECMethods in com.hypixel.hytale.builtin.adventure.shop.barter that return types with arguments of type BarterShopAssetModifier and TypeMethodDescriptionstatic DefaultAssetMap<String, BarterShopAsset> BarterShopAsset.getAssetMap()static AssetStore<String, BarterShopAsset, DefaultAssetMap<String, BarterShopAsset>> BarterShopAsset.getAssetStore()static AssetStore<String, BarterShopAsset, DefaultAssetMap<String, BarterShopAsset>> BarterShopAsset.getAssetStore()Methods in com.hypixel.hytale.builtin.adventure.shop.barter with parameters of type BarterShopAssetModifier and TypeMethodDescriptionvoidBarterShopState.checkRefresh(BarterShopAsset asset, Instant gameTime) Check and perform refresh if needed for a shop.booleanBarterShopState.executeTrade(BarterShopAsset asset, int tradeIndex, int quantity, Instant gameTime) Attempt to execute a trade.booleanBarterShopState.ShopInstanceState.expandStockIfNeeded(BarterShopAsset asset) Expand stock array if new trades were added.BarterShopState.getOrCreateShopState(BarterShopAsset asset, Instant gameTime) Get or create the state for a shop.BarterShopState.getResolvedTrades(BarterShopAsset asset, Instant gameTime) Get the resolved trades for a shop.BarterShopState.ShopInstanceState.getResolvedTrades(BarterShopAsset asset) Get or resolve trades for a shop.int[]BarterShopState.getStockArray(BarterShopAsset asset, Instant gameTime) Get current stock array for a shop.voidBarterShopState.ShopInstanceState.resetStock(BarterShopAsset asset) Deprecated.Use resetStockAndResolve for shops with TradeSlotsvoidBarterShopState.ShopInstanceState.resetStockAndResolve(BarterShopAsset asset) Reset stock to max values and re-resolve trades with new seed.