3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/Item.h"
19class EggItem :
public ::Item {
23 ::ll::TypedStorage<8, 32, ::std::string> mInitEvent;
33 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
35 virtual bool isThrowable()
const ;
48 MCNAPI
EggItem(::std::string
const& name,
int id, ::std::string initEvent);
54 MCNAPI
void*
$ctor(::std::string
const& name,
int id, ::std::string initEvent);
Definition BlockSource.h:72
Definition Container.h:36
MCAPI void * $ctor(::std::string const &name, int id, ::std::string initEvent)
MCAPI::ItemStack & $use(::ItemStack &instance, ::Player &player, ::HandSlot handSlot) const
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
MCAPI bool $isThrowable() const
static MCAPI void ** $vftable()
MCAPI EggItem(::std::string const &name, int id, ::std::string initEvent)
MCAPI::Actor * $createProjectileActor(::BlockSource ®ion, ::ItemStack const &, ::Vec3 const &pos, ::Vec3 const &direction) const
Definition ItemStack.h:26