minecraft:loot
Dynamic value
Properties
This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.
Example from the game files
This is how vanilla Vindicator uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:loot": {
"table": "loot_tables/entities/vindication_illager.json"
}
}Used by 78
Vanilla entities with minecraft:loot in their definition:
Armor StandBlazeBoatBoggedBreezeCamel HuskCatCave SpiderChickenCodCopper GolemCowCreeperDolphinDonkeyDrownedElder GuardianEndermanEvokerFishing HookFoxGhastGlow SquidGoatGuardianHoglinHorseHuskIron GolemLlamaMagma CubeMooshroomMuleNautilusNPCOcelotPandaParchedParrotPhantomPigPiglinPiglin BrutePillagerPlayerPolar BearPufferfishRabbitRavagerSalmonSheepShulkerSilverfishSkeletonSkeleton HorseSlimeSnow GolemSpiderSquidStrayStriderTrader LlamaTripod CameraTropical FishTurtleVindicatorWardenWitchWitherWither SkeletonWolfZoglinZombieZombie HorseZombie NautilusZombified PiglinZombie VillagerZombie Villager
Set it without writing JSON
The mob maker writes this component for you from a form and puts it in a ready-to-import .mcaddon.
Related components
physicscollision_boxtype_familyconditional_bandwidth_optimizationnameableis_hidden_when_invisiblepushable_by_blockpushable_by_entitycan_climbis_babyballoonableambient_sound_intervalvariantpushablepersistentis_tameddimension_boundis_saddledinput_ground_controlledis_shakingmark_variantrenders_when_invisiblecan_flyannotation.break_door