40 virtual void setSelectedSlot(
int slot, ::ContainerID containerId) ;
43 virtual bool isAlive()
const ;
49 virtual ::ItemStack
const& getSelectedItem()
const ;
52 virtual void setSelectedItem(
::ItemStack const& item) ;
55 virtual ::PlayerInventorySlotData getSelectedSlot()
const ;
58 virtual float getMaxPickRange()
const ;
61 virtual ::Vec3 getPosition()
const ;
64 virtual void setPosition(
::Vec3 const& position) ;
67 virtual void createTransactionContext(
69 ::std::function<
void()>&& execute
79 virtual bool baseUseItemAsAttack(
::ItemStack& item) ;
82 virtual ::InteractionResult useItemOn(
92 virtual void resendBlocksAroundArea(
::BlockPos const& pos, uchar facing)
const ;
95 virtual void resendPlayerState()
const ;
98 virtual void sendPlayerInventory()
const ;
101 virtual bool isSneaking()
const ;
104 virtual ::Block
const& unwrapBlock(uint
const& block)
const ;
107 virtual ::Block
const& getBlock(
::BlockPos const& pos)
const ;
110 virtual ::Block
const& getExtraBlock(
::BlockPos const& pos)
const ;
113 virtual bool isLastBuildBlockInteractive()
const ;
116 virtual void sendBlockInteractedWith(
::BlockPos const& pos) ;
119 virtual ::DepenetrationComponent& getDepenetrationComponent() ;
128 MCAPI
void $setSelectedSlot(
int slot, ::ContainerID containerId);
130 MCAPI
bool $isAlive()
const;
134 MCAPI ::ItemStack
const& $getSelectedItem()
const;
136 MCAPI
void $setSelectedItem(
::ItemStack const& item);
138 MCAPI ::PlayerInventorySlotData $getSelectedSlot()
const;
140 MCAPI
float $getMaxPickRange()
const;
142 MCAPI ::Vec3 $getPosition()
const;
144 MCAPI
void $setPosition(
::Vec3 const& position);
146 MCAPI
void $createTransactionContext(
148 ::std::function<
void()>&& execute
155 MCAPI
bool $baseUseItemAsAttack(
::ItemStack& item);
157 MCAPI ::InteractionResult $useItemOn(
166 MCAPI
void $resendBlocksAroundArea(
::BlockPos const& pos, uchar facing)
const;
168 MCAPI
void $resendPlayerState()
const;
170 MCAPI
void $sendPlayerInventory()
const;
172 MCAPI
bool $isSneaking()
const;
174 MCAPI ::Block
const& $unwrapBlock(uint
const& block)
const;
176 MCAPI ::Block
const& $getBlock(
::BlockPos const& pos)
const;
178 MCAPI ::Block
const& $getExtraBlock(
::BlockPos const& pos)
const;
180 MCAPI
bool $isLastBuildBlockInteractive()
const;
182 MCAPI
void $sendBlockInteractedWith(
::BlockPos const& pos);
184 MCAPI ::DepenetrationComponent& $getDepenetrationComponent();
190 MCAPI
static void** $vftable();