94 ::ll::TypedStorage<4, 4, ::ItemVersion> mItemParseVersion;
95 ::ll::TypedStorage<8, 32, ::std::string> mTextureAtlasFile;
96 ::ll::TypedStorage<4, 4, int> mFrameCount;
97 ::ll::TypedStorage<1, 1, bool> mAnimatesInToolbar;
98 ::ll::TypedStorage<1, 1, bool> mIsMirroredArt;
99 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::UseAnimation> mUseAnim;
100 ::ll::TypedStorage<8, 32, ::std::string> mHoverTextColorFormat;
101 ::ll::TypedStorage<4, 4, int> mIconFrame;
102 ::ll::TypedStorage<4, 4, int> mAtlasFrame;
103 ::ll::TypedStorage<4, 4, int> mAtlasTotalFrames;
104 ::ll::TypedStorage<8, 32, ::std::string> mIconName;
105 ::ll::TypedStorage<8, 32, ::std::string> mAtlasName;
106 ::ll::TypedStorage<1, 1, uchar> mMaxStackSize;
107 ::ll::TypedStorage<2, 2, short> mId;
108 ::ll::TypedStorage<8, 32, ::std::string> mDescriptionId;
109 ::ll::TypedStorage<8, 48, ::HashedString> mRawNameId;
110 ::ll::TypedStorage<8, 32, ::std::string> mNamespace;
111 ::ll::TypedStorage<8, 48, ::HashedString> mFullName;
112 ::ll::TypedStorage<2, 2, short> mMaxDamage;
114 bool mHandEquipped : 1;
115 bool mIsStackedByData : 1;
116 bool mRequiresWorldBuilder : 1;
117 bool mExplodable : 1;
118 bool mFireResistant : 1;
119 bool mShouldDespawn : 1;
120 bool mAllowOffhand : 1;
121 bool mIgnoresPermissions : 1;
122 ::ll::TypedStorage<4, 4, int> mMaxUseDuration;
123 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mMinRequiredBaseGameVersion;
124 ::ll::TypedStorage<8, 8, ::WeakPtr<::BlockLegacy const>> mLegacyBlock;
125 ::ll::TypedStorage<4, 4, ::CreativeItemCategory> mCreativeCategory;
126 ::ll::TypedStorage<8, 8, ::Item*> mCraftingRemainingItem;
127 ::ll::TypedStorage<8, 32, ::std::string> mCreativeGroup;
128 ::ll::TypedStorage<4, 4, float> mFurnaceBurnIntervalModifier;
129 ::ll::TypedStorage<4, 4, float> mFurnaceXPmultiplier;
130 ::ll::TypedStorage<1, 1, ::ItemCommandVisibility> mIsHiddenInCommands;
131 ::ll::TypedStorage<4, 4, ::Rarity> mBaseRarity;
132 ::ll::TypedStorage<4, 4, ::Interactions::Mining::MineBlockItemEffectType> mMineBlockType;
133 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FoodItemComponentLegacy>> mFoodComponentLegacy;
134 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SeedItemComponentLegacy>> mSeedComponent;
135 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CameraItemComponentLegacy>> mCameraComponentLegacy;
136 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void()>>> mOnResetBAIcallbacks;
137 ::ll::TypedStorage<8, 24, ::std::vector<::ItemTag>> mTags;
154 virtual void tearDown();
157 virtual ::Item& setDescriptionId(::std::string
const& description);
160 virtual ::std::string
const& getDescriptionId()
const;
163 virtual int getMaxUseDuration(
::ItemStack const*)
const;
166 virtual ::WeakPtr<::BlockLegacy const>
const& getLegacyBlockForRendering()
const;
169 virtual bool isMusicDisk()
const;
175 virtual bool isComponentBased()
const;
178 virtual bool isHumanoidArmor()
const;
181 virtual bool isBlockPlanterItem()
const;
184 virtual bool isBucket()
const;
187 virtual bool isCandle()
const;
190 virtual bool isDamageable()
const;
193 virtual bool isDyeable()
const;
196 virtual bool isDye()
const;
199 virtual ::ItemColor getItemColor()
const;
202 virtual bool isFertilizer()
const;
205 virtual bool isFood()
const;
208 virtual bool isThrowable()
const;
211 virtual bool isUseable()
const;
214 virtual bool isTrimAllowed()
const;
217 virtual ::ItemComponent* getComponent(
::HashedString const&)
const;
220 virtual ::IFoodItemComponent* getFood()
const;
223 virtual ::Item& setMaxDamage(
int maxDamage);
226 virtual ::Item& setMaxUseDuration(
int maxUseDuration);
229 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag()
const;
232 virtual void initializeFromNetwork(
::CompoundTag const& tag);
235 virtual ::std::vector<::std::string> validateFromNetwork(
::CompoundTag const&);
238 virtual ::BlockShape getBlockShape()
const;
241 virtual bool canBeDepleted()
const;
244 virtual bool canDestroySpecial(
::Block const&)
const;
247 virtual int getLevelDataForAuxValue(
int)
const;
250 virtual bool isStackedByData()
const;
253 virtual short getMaxDamage()
const;
256 virtual int getAttackDamage()
const;
259 virtual float getAttackDamageBonus(
::Actor const&,
float)
const;
262 virtual bool isHandEquipped()
const;
268 virtual bool isPattern()
const;
271 virtual int getPatternIndex()
const;
274 virtual ::Rarity getBaseRarity()
const;
280 virtual bool showsDurabilityInCreative()
const;
283 virtual bool isWearableThroughLootTable(
::CompoundTag const*)
const;
286 virtual bool canDestroyInCreative()
const;
289 virtual bool isDestructive(
int)
const;
292 virtual bool isLiquidClipItem()
const;
295 virtual bool shouldInteractionWithBlockBypassLiquid(
::Block const&)
const;
298 virtual bool requiresInteract()
const;
301 virtual ::std::string getHoverTextColor(
::ItemStackBase const& stack)
const;
304 virtual void appendFormattedHovertext(
315 virtual int getEnchantSlot()
const;
318 virtual int getEnchantValue()
const;
321 virtual int getArmorValue()
const;
324 virtual int getToughnessValue()
const;
327 virtual ::SharedTypes::Legacy::LevelSoundEvent getBreakSound()
const;
330 virtual bool isComplex()
const;
333 virtual bool isValidAuxValue(
int)
const;
336 virtual int getDamageChance(
int unbreaking)
const;
339 virtual float getViewDamping()
const;
342 virtual bool uniqueAuxValues()
const;
345 virtual bool isActorPlacerItem()
const;
348 virtual bool isMultiColorTinted(
::ItemStack const&)
const;
366 virtual ::mce::Color getBaseColor(
::ItemStack const&)
const;
369 virtual ::mce::Color getSecondaryColor(
::ItemStack const&)
const;
372 virtual ::ActorDefinitionIdentifier getActorIdentifier(
::ItemStack const&)
const;
375 virtual int buildIdAux(
short auxValue,
::CompoundTag const*)
const;
378 virtual bool canUseOnSimTick()
const;
408 virtual ::std::string buildDescriptionName(
::ItemStackBase const& stack)
const;
411 virtual ::Bedrock::Safety::RedactableString
const buildRedactedDescriptionName(
::ItemStackBase const& stack)
const;
417 virtual ::std::string buildEffectDescriptionName(
::ItemStackBase const& stack)
const;
436 virtual ::HashedString
const& getCooldownType()
const;
439 virtual int getCooldownTime()
const;
448 virtual ::InHandUpdateType getInHandUpdateType(
453 bool const slotChanged
457 virtual bool validFishInteraction(
int)
const;
463 virtual ::SharedTypes::Legacy::ActorLocation getEquipLocation()
const;
466 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound()
const;
469 virtual bool shouldSendInteractionGameEvents()
const;
472 virtual bool useInterruptedByAttacking()
const;
481 virtual ::Item& setIconInfo(::std::string
const& name,
int index);
484 virtual ::ResolvedItemIconInfo getIconInfo(
::ItemStackBase const& item,
int,
bool)
const;
487 virtual ::std::string getInteractText(
::Player const& player)
const;
490 virtual int getAnimationFrameFor(
::Mob*,
bool,
::ItemStack const*,
bool)
const;
493 virtual bool isEmissive(
int auxValue)
const;
496 virtual ::Brightness getLightEmission(
int)
const;
499 virtual bool canBeCharged()
const;
518 virtual bool _shouldAutoCalculatePlacePos()
const;
521 virtual ::InteractionResult
528 MCAPI
Item(::std::string
const& nameId,
short id);
532 MCAPI
void _helpChangeInventoryItemInPlace(
536 ::ItemAcquisitionMethod acquisitionMethod
539 MCAPI ::CoordinatorResult _sendTryPlaceBlockEvent(
550 MCAPI ::Item& addTag(
::ItemTag const& tag);
552 MCAPI ::Item& addTags(::std::initializer_list<::std::reference_wrapper<::ItemTag const>> tags);
554 MCAPI ::std::string buildCategoryDescriptionName()
const;
558 MCAPI
void clearTags();
560 MCAPI ::std::vector<::CommandName> getCommandNames()
const;
562 MCAPI ::std::string getSerializedName()
const;
568 MCAPI
bool isElytra()
const;
570 MCAPI
bool operator==(
::Item const& rhs)
const;
574 MCAPI ::Item& setAllowOffhand(
bool offhand);
576 MCAPI ::Item& setCreativeGroup(::std::string
const& group);
578 MCAPI
void setDamageValue(
::ItemStackBase& stack,
short newDamage)
const;
580 MCAPI ::Item& setIsGlint(
bool glint);
582 MCAPI ::Item& setMinRequiredBaseGameVersion(
::BaseGameVersion const& baseGameVersion);
584 MCAPI ::Item& setShouldDespawn(
bool despawn);
586 MCAPI ::Item& setStackedByData(
bool isStackedByData);
591 MCAPI ::InteractionResult useOn(
608 MCAPI
static bool isElytraBroken(
int value);
616 MCAPI static ::std::string
const& ICON_DESCRIPTION_PREFIX();
618 MCAPI static ::std::string
const& TAG_DAMAGE();
620 MCAPI
static bool const& mGenerateDenyParticleEffect();
626 MCAPI
void* $ctor(::std::string
const& nameId,
short id);
638 MCFOLD
void $tearDown();
640 MCAPI ::Item& $setDescriptionId(::std::string
const& description);
642 MCFOLD ::std::string
const& $getDescriptionId()
const;
644 MCAPI
int $getMaxUseDuration(
::ItemStack const*)
const;
646 MCFOLD ::WeakPtr<::BlockLegacy const>
const& $getLegacyBlockForRendering()
const;
648 MCFOLD
bool $isMusicDisk()
const;
652 MCFOLD
bool $isComponentBased()
const;
654 MCFOLD
bool $isHumanoidArmor()
const;
656 MCFOLD
bool $isBlockPlanterItem()
const;
658 MCFOLD
bool $isBucket()
const;
660 MCFOLD
bool $isCandle()
const;
662 MCAPI
bool $isDamageable()
const;
664 MCFOLD
bool $isDyeable()
const;
666 MCFOLD
bool $isDye()
const;
668 MCFOLD
bool $isFertilizer()
const;
670 MCFOLD
bool $isFood()
const;
672 MCFOLD
bool $isThrowable()
const;
674 MCFOLD
bool $isUseable()
const;
676 MCFOLD
bool $isTrimAllowed()
const;
678 MCFOLD ::ItemComponent* $getComponent(
::HashedString const&)
const;
680 MCFOLD ::IFoodItemComponent* $getFood()
const;
682 MCAPI ::Item& $setMaxDamage(
int maxDamage);
684 MCAPI ::Item& $setMaxUseDuration(
int maxUseDuration);
686 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag()
const;
690 MCFOLD ::std::vector<::std::string> $validateFromNetwork(
::CompoundTag const&);
692 MCFOLD ::BlockShape $getBlockShape()
const;
694 MCAPI
bool $canBeDepleted()
const;
696 MCFOLD
bool $canDestroySpecial(
::Block const&)
const;
698 MCFOLD
int $getLevelDataForAuxValue(
int)
const;
700 MCAPI
bool $isStackedByData()
const;
702 MCFOLD
short $getMaxDamage()
const;
704 MCFOLD
int $getAttackDamage()
const;
706 MCFOLD
float $getAttackDamageBonus(
::Actor const&,
float)
const;
708 MCAPI
bool $isHandEquipped()
const;
712 MCFOLD
bool $isPattern()
const;
714 MCFOLD
int $getPatternIndex()
const;
716 MCAPI ::Rarity $getBaseRarity()
const;
720 MCFOLD
bool $showsDurabilityInCreative()
const;
722 MCFOLD
bool $isWearableThroughLootTable(
::CompoundTag const*)
const;
724 MCFOLD
bool $canDestroyInCreative()
const;
726 MCFOLD
bool $isDestructive(
int)
const;
728 MCFOLD
bool $isLiquidClipItem()
const;
730 MCFOLD
bool $shouldInteractionWithBlockBypassLiquid(
::Block const&)
const;
732 MCFOLD
bool $requiresInteract()
const;
734 MCAPI ::std::string $getHoverTextColor(
::ItemStackBase const& stack)
const;
736 MCAPI
void $appendFormattedHovertext(
745 MCFOLD
int $getEnchantSlot()
const;
747 MCFOLD
int $getEnchantValue()
const;
749 MCFOLD
int $getArmorValue()
const;
751 MCFOLD
int $getToughnessValue()
const;
753 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getBreakSound()
const;
755 MCFOLD
bool $isComplex()
const;
757 MCFOLD
bool $isValidAuxValue(
int)
const;
759 MCAPI
int $getDamageChance(
int unbreaking)
const;
761 MCFOLD
float $getViewDamping()
const;
763 MCFOLD
bool $uniqueAuxValues()
const;
765 MCFOLD
bool $isActorPlacerItem()
const;
767 MCFOLD
bool $isMultiColorTinted(
::ItemStack const&)
const;
779 MCFOLD ::mce::Color $getBaseColor(
::ItemStack const&)
const;
781 MCFOLD ::mce::Color $getSecondaryColor(
::ItemStack const&)
const;
783 MCAPI ::ActorDefinitionIdentifier $getActorIdentifier(
::ItemStack const&)
const;
785 MCAPI
int $buildIdAux(
short auxValue,
::CompoundTag const*)
const;
787 MCFOLD
bool $canUseOnSimTick()
const;
807 MCAPI ::std::string $buildDescriptionName(
::ItemStackBase const& stack)
const;
809 MCAPI ::Bedrock::Safety::RedactableString
const $buildRedactedDescriptionName(
::ItemStackBase const& stack)
const;
813 MCAPI ::std::string $buildEffectDescriptionName(
::ItemStackBase const& stack)
const;
826 MCAPI ::HashedString
const& $getCooldownType()
const;
828 MCAPI
int $getCooldownTime()
const;
834 MCAPI ::InHandUpdateType $getInHandUpdateType(
839 bool const slotChanged
842 MCFOLD
bool $validFishInteraction(
int)
const;
846 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound()
const;
848 MCFOLD
bool $shouldSendInteractionGameEvents()
const;
850 MCFOLD
bool $useInterruptedByAttacking()
const;
854 MCFOLD ::Item& $setIconInfo(::std::string
const& name,
int index);
856 MCAPI ::ResolvedItemIconInfo $getIconInfo(
::ItemStackBase const& item,
int,
bool)
const;
858 MCAPI ::std::string $getInteractText(
::Player const& player)
const;
860 MCFOLD
int $getAnimationFrameFor(
::Mob*,
bool,
::ItemStack const*,
bool)
const;
862 MCAPI
bool $isEmissive(
int auxValue)
const;
864 MCFOLD ::Brightness $getLightEmission(
int)
const;
866 MCFOLD
bool $canBeCharged()
const;
879 MCFOLD
bool $_shouldAutoCalculatePlacePos()
const;
881 MCAPI ::InteractionResult