33class BucketItem :
public ::Item {
37 ::ll::TypedStorage<2, 2, ::BucketFillType> mFillType;
47 virtual ::Item& setIconInfo(::std::string
const& name,
int id) ;
51 virtual bool canUseOnSimTick()
const ;
55 virtual void releaseUsing(
::ItemStack& inoutInstance,
::Player* player,
int durationLeft)
const ;
60 virtual bool uniqueAuxValues()
const ;
62 virtual bool isBucket()
const ;
67 virtual bool isLiquidClipItem()
const ;
71 virtual bool validFishInteraction(
int)
const ;
73 virtual ::Brightness getLightEmission(
int)
const ;
75 virtual bool isValidAuxValue(
int auxValue)
const ;
77 virtual bool isDestructive(
int auxValue)
const ;
79 virtual void appendFormattedHovertext(
83 bool const showCategory
86 virtual ::InteractionResult
94 MCAPI BucketItem(::std::string
const& name,
int id, ::BucketFillType type);
100 MCAPI
bool _canEmptyBucketIntoBlock(
108 MCAPI
bool _emptyBucket(
123 MCAPI ::BlockType
const* _tryGetBlock(::BucketFillType contents)
const;
127 MCAPI
bool readBucketEntitySaveData(
138 MCAPI static ::std::string getSchoolName(
int color,
int color2,
int variant,
int markVariant);
144 MCAPI static ::std::vector<::std::pair<::BucketFillType, ::ActorType>>
const& mFillTypeToEntityType();
150 MCAPI
void* $ctor(::std::string
const& name,
int id, ::BucketFillType type);
156 MCAPI ::Item& $setIconInfo(::std::string
const& name,
int id);
160 MCAPI
bool $canUseOnSimTick()
const;
164 MCAPI
void $releaseUsing(
::ItemStack& inoutInstance,
::Player* player,
int durationLeft)
const;
168 MCFOLD
bool $uniqueAuxValues()
const;
170 MCFOLD
bool $isBucket()
const;
174 MCAPI
bool $isLiquidClipItem()
const;
178 MCAPI
bool $validFishInteraction(
int)
const;
180 MCAPI ::Brightness $getLightEmission(
int)
const;
182 MCFOLD
bool $isValidAuxValue(
int auxValue)
const;
184 MCAPI
bool $isDestructive(
int auxValue)
const;
186 MCAPI
void $appendFormattedHovertext(
190 bool const showCategory
193 MCAPI ::InteractionResult
202 MCAPI
static void** $vftable();