30 enum class ActionType :
int {
36 enum class TriggerType : uchar {
42 enum class PredictedResult : uchar {
50 ::ll::TypedStorage<4, 4, ::ItemUseInventoryTransaction::ActionType> mActionType;
51 ::ll::TypedStorage<1, 1, ::ItemUseInventoryTransaction::TriggerType> mTriggerType;
52 ::ll::TypedStorage<4, 12, ::NetworkBlockPosition> mPos;
53 ::ll::TypedStorage<4, 4, uint> mTargetBlockId;
54 ::ll::TypedStorage<1, 1, uchar> mFace;
55 ::ll::TypedStorage<4, 4, int> mSlot;
56 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mItem;
57 ::ll::TypedStorage<4, 12, ::Vec3> mFromPos;
58 ::ll::TypedStorage<4, 12, ::Vec3> mClickPos;
59 ::ll::TypedStorage<1, 1, ::ItemUseInventoryTransaction::PredictedResult> mClientPredictedResult;
75 virtual void postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide) ;
78 virtual void onTransactionError(
::Player& player, ::InventoryTransactionError error)
const ;
81 virtual ::InventoryTransactionError handle(
::Player& player,
bool isSenderAuthority)
const ;
93 MCAPI ::InventoryTransactionError
99 MCAPI ::ItemUseInventoryTransaction& setSelectedItem(
::ItemStack const& item);
105 MCAPI
static void resendBlocksAroundArea(
::Player& player,
::BlockPos const& pos, uchar facing);
107 MCAPI
static void resendPlayerState(
::Player& player);
113 MCAPI static ::BidirectionalUnorderedMap<::ItemUseInventoryTransaction::ActionType, ::std::string>
const&
140 MCFOLD
void $postLoadItems(
::BlockPalette& blockPalette,
bool isClientSide);
142 MCAPI
void $onTransactionError(
::Player& player, ::InventoryTransactionError error)
const;
144 MCAPI ::InventoryTransactionError $handle(
::Player& player,
bool isSenderAuthority)
const;
150 MCAPI
static void** $vftable();