3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/ViewRequest.h"
8#include "mc/client/gui/screens/controllers/BlockContainerScreenController.h"
9#include "mc/world/item/ItemInstance.h"
26 ::ll::TypedStorage<8, 8, ::BlockSource*> mRegion;
27 ::ll::TypedStorage<8, 8, ::BlockActor*> mBlockActor;
28 ::ll::TypedStorage<4, 4, ::std::bitset<9>> mDisabledSlotsPrediction;
29 ::ll::TypedStorage<8, 8, int64> mLastDisabledSlotsInteractedTime;
30 ::ll::TypedStorage<8, 128, ::ItemInstance> mCrafterOutputItem;
35 CrafterScreenController();
40 virtual ~CrafterScreenController() =
default;
42 virtual ::ui::ViewRequest handleEvent(::ScreenEvent& screenEvent) ;
44 virtual ::ui::DirtyFlag tick() ;
51 ::std::shared_ptr<::ClientInstanceScreenModel> model,
64 ::std::shared_ptr<::ClientInstanceScreenModel> model,
Definition BlockActor.h:30
Definition BlockContainerScreenController.h:5
Definition BlockSource.h:72
Definition ClientInstanceScreenModel.h:5
Definition CrafterScreenController.h:5
MCAPI::ui::ViewRequest $handleEvent(::ScreenEvent &screenEvent)
MCAPI CrafterScreenController(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI void _setToggledStateForSlot(int slot, bool shouldEnable)
MCAPI::ui::DirtyFlag $tick()
MCAPI void * $ctor(::std::shared_ptr<::ClientInstanceScreenModel > model, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
Definition ActorUniqueID.h:5
Definition ScreenEvent.h:5