minecraft:nameable
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:nameable": {
"default_trigger": {
"event": "minecraft:stop_johnny",
"target": "self"
},
"name_actions": [
{
"name_filter": "Johnny",
"on_named": {
"event": "minecraft:start_johnny",
"target": "self"
}
}
]
}
}Used by 93
Vanilla entities with minecraft:nameable in their definition:
AllayArmadilloArmor StandAxolotlBatBeeBlazeBoggedBreezeCamelCamel HuskCatCave SpiderChickenCodCopper GolemCowCreakingCreeperCushionDolphinDonkeyDrownedElder GuardianEndermanEndermiteEvokerFoxFrogGhastGlow SquidGoatGuardianHappy GhastHoglinHorseHuskIron GolemLlamaMagma CubeMooshroomMuleNautilusNPCOcelotPandaParchedParrotPhantomPigPiglinPiglin BrutePillagerPlayerPolar BearPufferfishRabbitRavagerSalmonSheepShulkerSilverfishSkeletonSkeleton HorseSlimeSnifferSnow GolemSpiderSquidStrayStriderSulfur CubeTadpoleTrader LlamaTropical FishTurtleVexVillagerVillagerVindicatorWandering TraderWardenWitchWitherWither SkeletonWolfZoglinZombieZombie HorseZombie NautilusZombified PiglinZombie VillagerZombie Villager
Related components
physicscollision_boxtype_familyconditional_bandwidth_optimizationis_hidden_when_invisiblepushable_by_blockpushable_by_entitylootcan_climbis_babyballoonableambient_sound_intervalvariantpushablepersistentis_tameddimension_boundis_saddledinput_ground_controlledis_shakingmark_variantrenders_when_invisiblecan_flyannotation.break_door