3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/gameplay/api/gameplayui/AnvilInfo.h"
7#include "mc/client/gui/gameplay/api/gameplayui/RecipeBookTab.h"
8#include "mc/client/gui/gameplay/data/gameplayui/ChestType.h"
9#include "mc/client/gui/gameplay/data/gameplayui/ContainerColorMode.h"
10#include "mc/client/gui/gameplay/data/gameplayui/ContainerInteractionsHandler.h"
11#include "mc/client/gui/gameplay/data/gameplayui/ContainerItemType.h"
12#include "mc/client/gui/gameplay/data/gameplayui/ContainerSlot.h"
13#include "mc/client/gui/oreui/input/GamepadButton.h"
14#include "mc/client/gui/oreui/input/MouseButton.h"
15#include "mc/deps/core/utility/NonOwnerPointer.h"
16#include "mc/deps/shared_types/legacy/ContainerType.h"
17#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
18#include "mc/legacy/ActorUniqueID.h"
19#include "mc/world/containers/ContainerEnumName.h"
20#include "mc/world/containers/controllers/ItemCraftType.h"
21#include "mc/world/item/ItemInstance.h"
22#include "mc/world/level/BlockPos.h"
61 ::ll::TypedStorage<8, 8, ::LocalPlayer*> mLocalPlayer;
62 ::ll::TypedStorage<8, 64, ::std::function<::ItemRegistryRef()>> mGetItemRegistryRef;
63 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::GuiData>> mGuiData;
64 ::ll::TypedStorage<4, 76, ::GameplayUI::ContainerInteractionsHandler> mInteractionsHandler;
65 ::ll::TypedStorage<8, 128, ::ItemInstance> mSplitMultipleItemTemplate;
66 ::ll::TypedStorage<4, 4, int> mLastPlaceAllAmount;
67 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ContainerManagerController>> mContainerManagerController;
68 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::AnvilContainerManagerModel>> mAnvilContainerManagerModel;
69 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::BrewingStandContainerManagerModel>> mBrewingStandContainerManagerModel;
70 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ChestContainerManagerModel>> mChestContainerManagerModel;
71 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::CraftingContainerManagerModel>> mCraftingContainerManagerModel;
72 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::FurnaceContainerManagerModel>> mFurnaceContainerManagerModel;
73 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::GrindstoneContainerManagerModel>> mGrindstoneContainerManagerModel;
74 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::HopperContainerManagerModel>> mHopperContainerManagerModel;
75 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::DropperContainerManagerModel>> mDropperContainerManagerModel;
76 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::DispenserContainerManagerModel>> mDispenserContainerManagerModel;
77 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Trade2ContainerManagerModel>> mTrade2ContainerManagerModel;
78 ::ll::TypedStorage<4, 12, ::BlockPos> mContainerBlockPos;
79 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mUniqueActorId;
80 ::ll::TypedStorage<8, 112, ::GameplayUI::AnvilInfo> mAnvilInfo;
81 ::ll::TypedStorage<8, 24, ::std::vector<::GameplayUI::ContainerInputLegendEntry>> mInputLegend;
82 ::ll::TypedStorage<4, 12, ::std::optional<::GameplayUI::ContainerSlot>> mFocusedContainerSlot;
88 MCNAPI ::GameplayUI::ContainerItem
93 MCNAPI ::GameplayUI::ContainerInteractionsContext
96 MCNAPI
void _playSound(::SharedTypes::Legacy::LevelSoundEvent eventName)
const;
98 MCNAPI
void _playSound(::std::string
const& soundName)
const;
100 MCNAPI
void _recipeAutoCraft(::ContainerEnumName collectionName,
int collectionIndex, ::ItemCraftType craftType);
105 ::std::unordered_map<::std::string, ::std::shared_ptr<::ContainerModel>>
const& containers
130 MCNAPI ::std::optional<::GameplayUI::ContainerItem>
161 ::OreUI::MouseButton button,
162 ::ContainerEnumName container,
181 ::SharedTypes::Legacy::ContainerType containerType,
Definition AnvilContainerManagerModel.h:16
Definition BrewingStandContainerManagerModel.h:16
Definition ChestContainerManagerModel.h:15
Definition ContainerManagerController.h:46
Definition ContainerModel.h:23
Definition CraftingContainerManagerController.h:40
Definition CraftingContainerManagerModel.h:25
Definition DispenserContainerManagerModel.h:13
Definition DropperContainerManagerModel.h:13
Definition FurnaceContainerManagerModel.h:26
Definition ContainerAPI.h:7
MCAPI::GameplayUI::TradeOfferInfo getTradeOfferInfo(int tradeTier, int tradeIndex) const
MCAPI::GameplayUI::ContainerInteractionsContext _getInteractionsContext(::ContainerEnumName container, int slot, bool isDoubleClick, bool isShiftClick) const
MCAPI::GameplayUI::TradeOverview getTradeOverview() const
MCAPI::std::string getRecipeBookSearchString() const
MCAPI void performAutoTrade(int tradeTier, int tradeIndex)
MCAPI void _recipeAutoCraft(::ContainerEnumName collectionName, int collectionIndex, ::ItemCraftType craftType)
MCAPI ::std::vector<::GameplayUI::RecipeBookTabData > getAvailableRecipeBookTabs() const
MCAPI ::std::shared_ptr<::ContainerModel > _tryGetContainerModel(::ContainerEnumName containerName) const
MCAPI ::std::optional<::GameplayUI::AnvilInfo > getAnvilInfo() const
MCAPI void closeContainer()
MCAPI::GameplayUI::TradeTierInfo getTradeTierInfo(int tradeTier) const
MCAPI ::std::optional<::GameplayUI::ChestType > getChestType() const
MCAPI void handleSlotGamepadLongPress(::OreUI::GamepadButton button, ::ContainerEnumName container, int slot)
MCAPI void handleSlotMouseRelease(::OreUI::MouseButton button, ::ContainerEnumName container, int slot)
MCAPI void _refreshInputLegend()
MCAPI void setRecipeBookFiltering(bool isFiltering)
MCAPI::GameplayUI::ContainerItem getSelectedBundleItem() const
MCAPI void setAnvilPreviewItemName(::std::string const &name)
MCAPI void handleSlotTouchLongPressMove(::ContainerEnumName container, int slot, float normalizedValue)
MCAPI void _tryUpdateCraftingContainer()
MCAPI::std::string getFocusedSlotTooltip() const
MCAPI void _playSound(::SharedTypes::Legacy::LevelSoundEvent eventName) const
MCAPI void _doContainerAction(::GameplayUI::ContainerAction const &action)
MCAPI void _playSound(::std::string const &soundName) const
MCAPI void handleSlotTouchDrag(::ContainerEnumName container, int slot)
MCAPI bool isRecipeBookAvailable() const
MCAPI ::std::optional<::GameplayUI::BrewingStandInfo > getBrewingStandInfo() const
MCAPI::std::string getContainerName() const
MCAPI void onPlayerOpenContainer(::SharedTypes::Legacy::ContainerType containerType, ::BlockPos const &blockPos, ::ActorUniqueID const &uniqueId)
MCAPI void handleSlotMousePress(::OreUI::MouseButton button, ::ContainerEnumName container, int slot, bool isDoubleClick, bool isShiftClick)
MCAPI void setRecipeBookVisibility(bool visible)
MCAPI void handleSlotTouchLongPressStart(::ContainerEnumName container, int slot)
MCAPI void handleSlotTouchRelease(::ContainerEnumName container, int slot, bool isDoubleClick)
MCAPI ::std::optional<::GameplayUI::ContainerItem > getFocusedBundle() const
MCAPI void handleSlotGamepadPress(::OreUI::GamepadButton button, ::ContainerEnumName container, int slot, bool isDoubleClick)
MCAPI::CraftingContainerManagerController * _tryGetCraftingContainerManagerController() const
MCAPI void _resetSelectedRecipeTabIfEmpty(::std::unordered_map<::std::string, ::std::shared_ptr<::ContainerModel > > const &containers)
MCAPI ::std::vector<::GameplayUI::RecipeBookTab > getActiveRecipeBookTabs() const
MCAPI void selectTrade(int tradeTier, int tradeIndex)
MCAPI ::std::optional<::GameplayUI::ContainerColorMode > getContainerColorMode()
MCAPI void handleSlotMouseDrag(::OreUI::MouseButton button, ::ContainerEnumName container, int slot)
MCAPI void setRecipeBookSearchString(::std::string const &searchText)
MCAPI::GameplayUI::ContainerItem _containerItemFromItemStack(::ItemStackBase const &item, ::GameplayUI::ContainerItemType containerItemType) const
MCAPI ::std::vector<::GameplayUI::ContainerItem > getBundleContent(int bundleID) const
MCAPI void handleSlotGamepadDrag(::OreUI::GamepadButton button, ::ContainerEnumName container, int slot)
MCAPI ::std::optional<::GameplayUI::FurnaceInfo > getFurnaceInfo() const
MCAPI ::std::optional<::GameplayUI::ContainerItem > getContainerItem(::ContainerEnumName containerName, int index) const
MCAPI void pullInIngredientsForSelectedTrade()
Definition GrindstoneContainerManagerModel.h:15
Definition HopperContainerManagerModel.h:13
Definition ItemRegistryRef.h:36
Definition ItemStackBase.h:45
Definition LocalPlayer.h:5
Definition Trade2ContainerManagerModel.h:17
Definition ActorUniqueID.h:5
Definition BrewingStandInfo.h:7
Definition ContainerAction.h:7
Definition ContainerInputLegendEntry.h:7
Definition ContainerInteractionsContext.h:7
Definition ContainerItem.h:7
Definition FurnaceInfo.h:7
Definition RecipeBookTabData.h:7
Definition TradeOfferInfo.h:7
Definition TradeOverview.h:7
Definition TradeTierInfo.h:7