24class CrafterBlockActor :
public ::DispenserBlockActor {
36 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mRecencyOrderedIndexes;
37 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::CraftingContainer, ::std::vector<::ItemInstance>>>>
45 ::ll::TypedStorage<4, 4, ::std::bitset<9>> mDisabledSlots;
46 ::ll::TypedStorage<8, 48, ::CrafterBlockActor::LruCache> mCraftedRecipesCache;
47 ::ll::TypedStorage<4, 4, int> mTicksLeftInCraftingState;
57 virtual ::std::string getName() const ;
59 virtual
bool canPushInItem(
int slot,
int item, ::
ItemStack const&) const ;
61 virtual
bool isSlotDisabled(
int slot) const ;
77 MCAPI explicit CrafterBlockActor(::
BlockPos pos);
80 MCAPI ::std::bitset<9>
const& getDisabledSlots()
const;
83 MCAPI
int getDisabledSlotsCount()
const;
85 MCAPI
void onDisabledSlotToggleRequested(
::BlockSource& region,
int slot,
bool shouldDisable);
89 MCAPI
bool tryMoveItemsIntoContainer(
::BlockSource& region, ::std::vector<::ItemInstance>& items);
97 MCAPI static ::std::vector<::Recipe const*>
112 MCAPI ::std::string $getName()
const;
114 MCAPI
bool $canPushInItem(
int slot,
int item,
::ItemStack const&)
const;
116 MCAPI
bool $isSlotDisabled(
int slot)
const;
124 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
134 MCAPI
static void** $vftableForRandomizableBlockActorContainerBase();
136 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5