1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-07-17 18:45:21 +00:00
Files
Mike Ammerlaan d2c831e602 v1.21.90.3
2025-06-18 05:19:56 -07:00

655 lines
27 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1956551060",
"x-format-version": "1.21.10",
"x-minecraft-version": "1.21.90-beta.3",
"definitions": {
"764203503": {
"title": "minecraft:durability_sensor durability_threshold",
"description": "Defines both the durability threshold, and the effects emitted when that threshold is met.",
"type": "object",
"properties": {
"durability": {
"description": "The effects are emitted when the item durability value is less than or equal to this value.",
"type": "integer"
},
"particle_type": {
"title": "enum ParticleType",
"description": "Particle effect to emit when the threshold is met.",
"type": "string",
"enum": [
"none",
"bubble",
"bubblemanual",
"crit",
"blockforcefield",
"smoke",
"explode",
"evaporation",
"flame",
"candleflame",
"lava",
"largesmoke",
"reddust",
"risingborderdust",
"iconcrack",
"snowballpoof",
"largeexplode",
"hugeexplosion",
"breezewindexplosion",
"mobflame",
"heart",
"terrain",
"townaura",
"portal",
"watersplash",
"watersplashmanual",
"waterwake",
"dripwater",
"driplava",
"driphoney",
"stalactitedripwater",
"stalactitedriplava",
"fallingdust",
"mobspell",
"mobspellambient",
"mobspellinstantaneous",
"ink",
"slime",
"rainsplash",
"villagerangry",
"villagerhappy",
"enchantingtable",
"trackingemitter",
"note",
"witchspell",
"carrotboost",
"mobappearance",
"endrod",
"dragonbreath",
"spit",
"totem",
"food",
"fireworksstarter",
"fireworks",
"fireworksoverlay",
"balloongas",
"coloredflame",
"sparkler",
"conduit",
"bubblecolumnup",
"bubblecolumndown",
"sneeze",
"shulkerbullet",
"bleach",
"dragondestroyblock",
"myceliumdust",
"fallingborderdust",
"campfiresmoke",
"campfiresmoketall",
"dragonbreathfire",
"dragonbreathtrail",
"soul",
"obsidiantear",
"portalreverse",
"snowflake",
"wax",
"electricspark",
"shriek",
"sculksoul",
"sonicexplosion",
"dustplume",
"whitesmoke",
"vaultconnection",
"windexplosion",
"wolfarmorcrack",
"creakingcrumble",
"paleoakleaves",
"eyeblossomopen",
"eyeblossomclose"
]
},
"sound_event": {
"title": "enum SharedTypes::Legacy::LevelSoundEvent",
"description": "Sound effect to emit when the threshold is met.",
"type": "string",
"enum": [
"item.use.on",
"hit",
"step",
"step.baby",
"fly",
"jump",
"jump.prevent",
"break",
"place",
"heavy.step",
"gallop",
"fall",
"hurt",
"hurt.baby",
"hurt.in.water",
"death",
"death.baby",
"death.in.water",
"death.to.zombie",
"ambient",
"ambient.baby",
"ambient.in.water",
"ambient.in.air",
"ambient.tame",
"ambient.pollinate",
"breathe",
"mad",
"boost",
"bow",
"squish.big",
"squish.small",
"fall.big",
"fall.small",
"splash",
"fizz",
"flap",
"swim",
"drink",
"drink.honey",
"drink.milk",
"eat",
"takeoff",
"shake",
"plop",
"land",
"saddle",
"armor",
"mob.armor_stand.place",
"add.chest",
"throw",
"attack",
"attack.nodamage",
"attack.strong",
"warn",
"shear",
"milk",
"thunder",
"explode",
"fire",
"ignite",
"fuse",
"stare",
"spawn",
"born",
"shoot",
"break.block",
"launch",
"blast",
"large.blast",
"twinkle",
"remedy",
"unfect",
"convert_to_drowned",
"levelup",
"bow.hit",
"bullet.hit",
"extinguish.fire",
"item.fizz",
"chest.open",
"chest.closed",
"shulkerbox.open",
"shulkerbox.closed",
"enderchest.open",
"enderchest.closed",
"power.on",
"power.off",
"attach",
"detach",
"deny",
"tripod",
"pop",
"drop.slot",
"note",
"thorns",
"piston.in",
"piston.out",
"portal",
"water",
"lava.pop",
"lava",
"beacon.activate",
"beacon.ambient",
"beacon.deactivate",
"beacon.power",
"conduit.activate",
"conduit.ambient",
"conduit.attack",
"conduit.deactivate",
"conduit.short",
"bubble.pop",
"bubble.up",
"bubble.upinside",
"bubble.down",
"bubble.downinside",
"burp",
"bucket.fill.water",
"bucket.empty.water",
"bucket.fill.lava",
"bucket.empty.lava",
"bucket.fill.fish",
"bucket.empty.fish",
"armor.equip_chain",
"armor.equip_diamond",
"armor.equip_elytra",
"armor.equip_generic",
"armor.equip_gold",
"armor.equip_iron",
"armor.equip_leather",
"armor.equip_netherite",
"record.13",
"record.cat",
"record.blocks",
"record.chirp",
"record.creator",
"record.creator_music_box",
"record.far",
"record.mall",
"record.mellohi",
"record.stal",
"record.strad",
"record.ward",
"record.11",
"record.wait",
"record.pigstep",
"record.precipice",
"record.relic",
"record.otherside",
"record.5",
"record.tears",
"flop",
"elderguardian.curse",
"teleport",
"shulker.open",
"shulker.close",
"mob.warning",
"mob.warning.baby",
"haggle",
"haggle.yes",
"haggle.no",
"haggle.idle",
"disappeared",
"reappeared",
"chorusgrow",
"chorusdeath",
"glass",
"potion.brewed",
"cast.spell",
"prepare.attack",
"prepare.summon",
"prepare.wololo",
"fang",
"charge",
"camera.take_picture",
"leashknot.break",
"leashknot.place",
"growl",
"whine",
"pant",
"purr",
"purreow",
"death.min.volume",
"death.mid.volume",
"imitate.blaze",
"imitate.cave_spider",
"imitate.creeper",
"imitate.elder_guardian",
"imitate.ender_dragon",
"imitate.enderman",
"imitate.endermite",
"imitate.evocation_illager",
"imitate.ghast",
"imitate.husk",
"imitate.magma_cube",
"imitate.polar_bear",
"imitate.shulker",
"imitate.silverfish",
"imitate.skeleton",
"imitate.slime",
"imitate.spider",
"imitate.stray",
"imitate.vex",
"imitate.vindication_illager",
"imitate.witch",
"imitate.wither",
"imitate.wither_skeleton",
"imitate.wolf",
"imitate.zombie",
"imitate.zombie_pigman",
"imitate.zombie_villager",
"block.end_portal_frame.fill",
"block.end_portal.spawn",
"random.anvil_use",
"bottle.dragonbreath",
"balloonpop",
"sparkler.active",
"item.trident.hit",
"item.trident.hit_ground",
"item.trident.return",
"item.trident.riptide_1",
"item.trident.riptide_2",
"item.trident.riptide_3",
"item.trident.throw",
"item.trident.thunder",
"block.fletching_table.use",
"elemconstruct.open",
"icebomb.hit",
"lt.reaction.icebomb",
"lt.reaction.bleach",
"lt.reaction.epaste",
"lt.reaction.epaste2",
"lt.reaction.fertilizer",
"lt.reaction.fireball",
"lt.reaction.mgsalt",
"lt.reaction.miscfire",
"lt.reaction.fire",
"lt.reaction.miscexplosion",
"lt.reaction.miscmystical",
"lt.reaction.miscmystical2",
"lt.reaction.product",
"sparkler.use",
"glowstick.use",
"block.turtle_egg.break",
"block.turtle_egg.crack",
"block.turtle_egg.hatch",
"block.turtle_egg.attack",
"block.sniffer_egg.crack",
"block.sniffer_egg.hatch",
"block.frog_spawn.hatch",
"block.frog_spawn.break",
"swoop",
"presneeze",
"sneeze",
"scared",
"ambient.aggressive",
"ambient.worried",
"cant_breed",
"block.scaffolding.climb",
"block.bamboo_sapling.place",
"crossbow.loading.start",
"crossbow.loading.middle",
"crossbow.loading.end",
"crossbow.shoot",
"crossbow.quick_charge.start",
"crossbow.quick_charge.middle",
"crossbow.quick_charge.end",
"item.shield.block",
"portal.travel",
"item.book.put",
"block.grindstone.use",
"block.bell.hit",
"block.campfire.crackle",
"block.sweet_berry_bush.hurt",
"block.sweet_berry_bush.pick",
"block.stonecutter.use",
"block.cartography_table.use",
"block.composter.empty",
"block.composter.fill",
"block.composter.fill_success",
"block.composter.ready",
"roar",
"stun",
"block.barrel.open",
"block.barrel.close",
"raid.horn",
"ui.stonecutter.take_result",
"ui.cartography_table.take_result",
"ui.loom.take_result",
"block.smoker.smoke",
"block.blastfurnace.fire_crackle",
"block.smithing_table.use",
"block.loom.use",
"ambient.in.raid",
"screech",
"sleep",
"block.furnace.lit",
"convert_mooshroom",
"milk_suspiciously",
"celebrate",
"block.beehive.enter",
"block.beehive.exit",
"block.beehive.shear",
"block.beehive.work",
"block.beehive.drip",
"ambient.cave",
"angry",
"retreat",
"converted_to_zombified",
"step_lava",
"tempt",
"panic",
"admire",
"particle.soul_escape.quiet",
"particle.soul_escape.loud",
"respawn_anchor.charge",
"respawn_anchor.deplete",
"respawn_anchor.set_spawn",
"respawn_anchor.ambient",
"ambient.crimson_forest.mood",
"ambient.warped_forest.mood",
"ambient.soulsand_valley.mood",
"ambient.nether_wastes.mood",
"ambient.crimson_forest.additions",
"ambient.warped_forest.additions",
"ambient.soulsand_valley.additions",
"ambient.nether_wastes.additions",
"ambient.basalt_deltas.additions",
"ambient.crimson_forest.loop",
"ambient.warped_forest.loop",
"ambient.soulsand_valley.loop",
"ambient.nether_wastes.loop",
"ambient.basalt_deltas.loop",
"lodestone_compass.link_compass_to_lodestone",
"ambient.basalt_deltas.mood",
"power.on.sculk_sensor",
"power.off.sculk_sensor",
"smithing_table.use",
"default",
"lay_egg",
"lay_spawn",
"bucket.fill.powder_snow",
"bucket.empty.powder_snow",
"cauldron_drip.water.pointed_dripstone",
"cauldron_drip.lava.pointed_dripstone",
"tilt_down.big_dripleaf",
"tilt_up.big_dripleaf",
"drip.water.pointed_dripstone",
"pick_berries.cave_vines",
"drip.lava.pointed_dripstone",
"copper.wax.on",
"copper.wax.off",
"scrape",
"item.spyglass.use",
"item.spyglass.stop_using",
"chime.amethyst_block",
"mob.player.hurt_drown",
"mob.player.hurt_on_fire",
"mob.player.hurt_freeze",
"ambient.screamer",
"hurt.screamer",
"death.screamer",
"milk.screamer",
"jump_to_block",
"pre_ram",
"pre_ram.screamer",
"ram_impact",
"ram_impact.screamer",
"squid.ink_squirt",
"glow_squid.ink_squirt",
"convert_to_stray",
"cake.add_candle",
"extinguish.candle",
"ambient.candle",
"block.click",
"block.click.fail",
"block.sculk_catalyst.bloom",
"block.sculk_shrieker.shriek",
"nearby_close",
"nearby_closer",
"nearby_closest",
"agitated",
"listening",
"heartbeat",
"tongue",
"item_given",
"item_taken",
"item_thrown",
"irongolem.crack",
"irongolem.repair",
"horn_break",
"horn_call0",
"horn_call1",
"horn_call2",
"horn_call3",
"horn_call4",
"horn_call5",
"horn_call6",
"horn_call7",
"imitate.warden",
"listening_angry",
"sonic_boom",
"sonic_charge",
"convert_to_frog",
"block.sculk.spread",
"charge.sculk",
"block.sculk_sensor.place",
"block.sculk_shrieker.place",
"block.enchanting_table.use",
"bundle.drop_contents",
"bundle.insert",
"bundle.insert_fail",
"bundle.remove_one",
"step_sand",
"dash_ready",
"pressure_plate.click_off",
"pressure_plate.click_on",
"button.click_off",
"button.click_on",
"door.open",
"door.close",
"trapdoor.open",
"trapdoor.close",
"fence_gate.open",
"fence_gate.close",
"insert",
"pickup",
"insert_enchanted",
"pickup_enchanted",
"shatter_pot",
"break_pot",
"brush",
"brush_completed",
"block.sign.waxed_interact_fail",
"note.bass",
"pumpkin.carve",
"mob.husk.convert_to_zombie",
"mob.pig.death",
"mob.hoglin.converted_to_zombified",
"ambient.underwater.enter",
"ambient.underwater.exit",
"bottle.fill",
"bottle.empty",
"block.decorated_pot.insert",
"block.decorated_pot.insert_fail",
"crafter.craft",
"crafter.fail",
"crafter.disable_slot",
"block.copper_bulb.turn_on",
"block.copper_bulb.turn_off",
"breeze_wind_charge.burst",
"imitate.breeze",
"trial_spawner.open_shutter",
"trial_spawner.detect_player",
"trial_spawner.close_shutter",
"trial_spawner.spawn_mob",
"trial_spawner.eject_item",
"trial_spawner.ambient",
"mob.armadillo.brush",
"mob.armadillo.scute_drop",
"armor.equip_wolf",
"armor.unequip_wolf",
"reflect",
"vault.open_shutter",
"vault.close_shutter",
"vault.eject_item",
"vault.insert_item",
"vault.insert_item_fail",
"vault.ambient",
"vault.activate",
"vault.deactivate",
"hurt.reduced",
"wind_charge.burst",
"armor.break_wolf",
"armor.crack_wolf",
"armor.repair_wolf",
"mace.smash_air",
"mace.smash_ground",
"mace.heavy_smash_ground",
"trial_spawner.charge_activate",
"trial_spawner.ambient_ominous",
"apply_effect.bad_omen",
"apply_effect.raid_omen",
"apply_effect.trial_omen",
"ominous_item_spawner.spawn_item",
"ominous_bottle.end_use",
"ominous_item_spawner.spawn_item_begin",
"ominous_item_spawner.about_to_spawn_item",
"imitate.bogged",
"vault.reject_rewarded_player",
"imitate.drowned",
"sponge.absorb",
"imitate.creaking",
"block.creaking_heart.trail",
"creaking_heart_spawn",
"activate",
"deactivate",
"freeze",
"unfreeze",
"open",
"open_long",
"close",
"close_long",
"imitate.phantom",
"imitate.zoglin",
"imitate.guardian",
"imitate.ravager",
"imitate.pillager",
"place_in_water",
"state_change",
"imitate.happy_ghast",
"armor.unequip_generic",
"ambient.weather.the_end_light_flash",
"lead.leash",
"lead.unleash",
"lead.break",
"unsaddle",
"undefined"
]
}
}
}
},
"title": "minecraft:durability_sensor",
"description": "Enables an item to emit effects when it receives damage. Because of this, the item also needs a `minecraft:durability` component.",
"type": "object",
"properties": {
"durability_thresholds": {
"description": "The list of both durability thresholds and effects emitted when each threshold is met. When multiple thresholds are met, only the threshold with the lowest durability after applying the damage is considered.",
"type": "array",
"items": {
"description": "Defines both the durability threshold, and the effects emitted when that threshold is met.",
"$ref": "#/definitions/764203503"
},
"minItems": 1
}
},
"required": [
"durability_thresholds"
]
}