[{"data":1,"prerenderedAt":511},["ShallowReactive",2],{"data":3,"\u002Fwiki\u002Fguides\u002Fminecraft-particles-sounds":118},[4,9,14,19,24,29,34,39,44,49,54,59,64,68,73,78,83,88,93,98,103,108,113],{"title":5,"path":6,"description":7,"id":8},"FAQ","\u002Fblockbench\u002Ffaq","Frequently Asked Questions about Blockbench","content\u002Fblockbench\u002Ffaq.md",{"title":10,"path":11,"description":12,"id":13},"Formats","\u002Fblockbench\u002Fformats","formats","content\u002Fblockbench\u002Fformats.md",{"title":15,"path":16,"description":17,"id":18},"Legacy Versions","\u002Fblockbench\u002Flegacy-versions","Blockbench version history and changelogs prior to switching to Github Releases","content\u002Fblockbench\u002Flegacy-versions.md",{"title":20,"path":21,"description":22,"id":23},"Localization","\u002Fblockbench\u002Flocalization","How to contribute to Blockbench languages","content\u002Fblockbench\u002Flocalization.md",{"title":25,"path":26,"description":27,"id":28},"Logos and Brand Assets","\u002Fblockbench\u002Flogos","Frequently Asked Questions about the Blockbench app","content\u002Fblockbench\u002Flogos.md",{"title":30,"path":31,"description":32,"id":33},"Custom Themes","\u002Fblockbench\u002Fthemes","Themes allow you to change the visual appearance of Blockbench. You can drag and drop .bbtheme files into Blockbench to load them.","content\u002Fblockbench\u002Fthemes.md",{"title":35,"path":36,"description":37,"id":38},"The .bbmodel format","\u002Fdocs\u002Fbbmodel","An overview of the .bbmodel file format","content\u002Fdocs\u002Fbbmodel.md",{"title":40,"path":41,"description":42,"id":43},"Blockbench","\u002Fdocs\u002Fblockbench","The Blockbench object provides useful variables and methods to interact with general functionality of Blockbench.","content\u002Fdocs\u002Fblockbench.md",{"title":45,"path":46,"description":47,"id":48},"Upgrading Plugins to 5.0","\u002Fdocs\u002Fplugin-upgrade-to-5.0","An overview of breaking changes in the plugin API in 5.0","content\u002Fdocs\u002Fplugin-upgrade-to-5.0.md",{"title":50,"path":51,"description":52,"id":53},"Creating a Plugin","\u002Fdocs\u002Fplugin","This article will go over the basic steps needed to create your first plugin.","content\u002Fdocs\u002Fplugin.md",{"title":55,"path":56,"description":57,"id":58},"Properties","\u002Fdocs\u002Fproperty","Properties are used to dynamically assign properties to existing classes that are undo-relevant.\nThe advantages of using properties include:","content\u002Fdocs\u002Fproperty.md",{"title":60,"path":61,"description":62,"id":63},"Interface","\u002Fdocs\u002Fui","","content\u002Fdocs\u002Fui.md",{"title":65,"path":66,"description":62,"id":67},"Undo","\u002Fdocs\u002Fundo","content\u002Fdocs\u002Fundo.md",{"title":69,"path":70,"description":71,"id":72},"Web App URL Parameters","\u002Fdocs\u002Furl-parameters","How to provide integration with the Blockbench web app using URL parameters","content\u002Fdocs\u002Furl-parameters.md",{"title":74,"path":75,"description":76,"id":77},"Utils","\u002Fdocs\u002Futility","Blockbench comes with a bunch of custom utility functions to make the life of developers easier.","content\u002Fdocs\u002Futility.md",{"title":79,"path":80,"description":81,"id":82},"Animation Expressions","\u002Fguides\u002Fanimation-expressions","Expressions in animations can be used to create dynamic animations based on math expressions, or to create systems where variables can be used to modify the transformation or state of the model, such as facial expressions","content\u002Fguides\u002Fanimation-expressions.md",{"title":84,"path":85,"description":86,"id":87},"Bedrock Modeling and Animation","\u002Fguides\u002Fbedrock-modeling","Learn how to create entity models and animations for Minecraft Bedrock Edition","content\u002Fguides\u002Fbedrock-modeling.md",{"title":89,"path":90,"description":91,"id":92},"Blockbench Overview & Tips","\u002Fguides\u002Fblockbench-overview-tips","The fundamentals of Blockbench and how to use it efficiently","content\u002Fguides\u002Fblockbench-overview-tips.md",{"title":94,"path":95,"description":96,"id":97},"Emissive Textures in Renders","\u002Fguides\u002Femissive-textures-renders","How to create elegant emissive textures in renders","content\u002Fguides\u002Femissive-textures-renders.md",{"title":99,"path":100,"description":101,"id":102},"3D Export","\u002Fguides\u002Fexport-formats","An overview of the different export formats and how to transfer your model into other programs","content\u002Fguides\u002Fexport-formats.md",{"title":104,"path":105,"description":106,"id":107},"Particles and Sounds in MC Bedrock","\u002Fguides\u002Fminecraft-particles-sounds","How to add particles and sounds effects to animations for Minecraft Bedrock Edition","content\u002Fguides\u002Fminecraft-particles-sounds.md",{"title":109,"path":110,"description":111,"id":112},"Minecraft Style Guide","\u002Fguides\u002Fminecraft-style-guide","Tips for creating art in the Minecraft style","content\u002Fguides\u002Fminecraft-style-guide.md",{"title":114,"path":115,"description":116,"id":117},"Rendering Models","\u002Fguides\u002Fmodel-rendering","Learn how to create renders of your Blockbench models","content\u002Fguides\u002Fmodel-rendering.md",{"id":107,"title":104,"body":119,"description":106,"extension":504,"meta":505,"navigation":409,"path":105,"seo":508,"stem":509,"__hash__":510},{"type":120,"value":121,"toc":495},"minimark",[122,127,131,136,139,152,159,163,166,169,172,176,179,184,187,211,215,312,316,349,354,475,479,482,488,491],[123,124,126],"h1",{"id":125},"particles-and-sounds-in-minecraft-bedrock-edition","Particles and Sounds in Minecraft: Bedrock Edition",[128,129,130],"p",{},"Blockbench allows users to add particle effects and sounds to animations, preview them, and export them to Minecraft: Bedrock Edition. This guide will teach you how to do just that.",[132,133,135],"h2",{"id":134},"adding-effect-keyframes","Adding Effect Keyframes",[128,137,138],{},"Sounds and particle effects are cued by keyframes. To enable the effect animator, press the \"Animate Effects\" button above the timeline. In the effects animator, you can add various types of keyframes",[140,141,142,146,149],"ul",{},[143,144,145],"li",{},"Particle keyframes play particle effects",[143,147,148],{},"Sound keyframes play sound effects",[143,150,151],{},"Instruction keyframes allow you to run arbitracy MoLang expressions on the entity at any time during the animation.\nThis can be used to modify variables in order to switch textures or change other rendering properties.",[128,153,154],{},[155,156],"img",{"alt":157,"src":158},"Effect animator in Blockbench","\u002Fimages\u002Fwiki\u002Fguides\u002Feffect-animator.png",[132,160,162],{"id":161},"previewing-effects","Previewing Effects",[128,164,165],{},"Once you have added a keyframe, use the \"Select Keyframe File\" button in the keyframe panel to select a file for the preview.\nFor sound effects, this must be an .ogg audio file. For particle files, it must be a .json particle file.\nOnce loaded, the effects will preview inside Blockbench.",[128,167,168],{},"For particle effects, you can also select a locator from your model in the keyframe panel. The particle effect will be attached to that specific locator, even if the position of the locator animates. For particle effects, you can also define a script. This script will run when the particle effect is created. Note that in-game the query namespace relates to the entity while the variable namespace exclusively references variables on the particle emitter.",[128,170,171],{},"Particle effects will automatically reload once you edit the particle file. If you want to reload a sound effect, or you are using the web version, simply select the file again to reload it.",[132,173,175],{"id":174},"using-effects-in-game","Using Effects In-Game",[128,177,178],{},"In order to use effects in-game, some extra steps are required:",[180,181,183],"h3",{"id":182},"effect-identifiers","Effect Identifiers",[128,185,186],{},"The effect identifier is used to reference a particle effect or sound somewhere in your resource pack",[140,188,189,197],{},[143,190,191,192,196],{},"For particle effects, the identifier is the one specified in the particle file or in Snowstorm.\nThe particle effect will work as long as the particle file is in the ",[193,194,195],"code",{},"particles"," folder of the resource pack, or in one if it's sub-folders.",[143,198,199,200,203,204],{},"For sound effects, the identifier is defined in the file ",[193,201,202],{},"sound_definitions.json"," that should be placed inside the sounds folder of your resource pack.\nThis file defined all custom sounds in your pack. Each sound links to one or multiple .ogg files in the resource pack.\nMore info on defining sounds can be found here: ",[205,206,210],"a",{"href":207,"rel":208},"https:\u002F\u002Fwiki.bedrock.dev\u002Fconcepts\u002Fsounds.html",[209],"nofollow","Sounds - Bedrock Wiki",[128,212,213],{},[193,214,202],{},[216,217,221],"pre",{"className":218,"code":219,"language":220,"meta":62,"style":62},"language-json shiki shiki-themes github-light github-dark","{\n    \"format_version\": \"1.14.0\",\n    \"sound_definitions\": {\n        \"rainbow.bling\": {\n            \"category\": \"ui\",\n            \"sounds\": [ \"sounds\u002Frainbow\u002Fbling\" ]\n        }\n    }\n}\n","json",[193,222,223,232,249,258,266,279,294,300,306],{"__ignoreMap":62},[224,225,228],"span",{"class":226,"line":227},"line",1,[224,229,231],{"class":230},"sVt8B","{\n",[224,233,235,239,242,246],{"class":226,"line":234},2,[224,236,238],{"class":237},"sj4cs","    \"format_version\"",[224,240,241],{"class":230},": ",[224,243,245],{"class":244},"sZZnC","\"1.14.0\"",[224,247,248],{"class":230},",\n",[224,250,252,255],{"class":226,"line":251},3,[224,253,254],{"class":237},"    \"sound_definitions\"",[224,256,257],{"class":230},": {\n",[224,259,261,264],{"class":226,"line":260},4,[224,262,263],{"class":237},"        \"rainbow.bling\"",[224,265,257],{"class":230},[224,267,269,272,274,277],{"class":226,"line":268},5,[224,270,271],{"class":237},"            \"category\"",[224,273,241],{"class":230},[224,275,276],{"class":244},"\"ui\"",[224,278,248],{"class":230},[224,280,282,285,288,291],{"class":226,"line":281},6,[224,283,284],{"class":237},"            \"sounds\"",[224,286,287],{"class":230},": [ ",[224,289,290],{"class":244},"\"sounds\u002Frainbow\u002Fbling\"",[224,292,293],{"class":230}," ]\n",[224,295,297],{"class":226,"line":296},7,[224,298,299],{"class":230},"        }\n",[224,301,303],{"class":226,"line":302},8,[224,304,305],{"class":230},"    }\n",[224,307,309],{"class":226,"line":308},9,[224,310,311],{"class":230},"}\n",[180,313,315],{"id":314},"assigning-a-short-name","Assigning a short name",[317,318,319,326,337],"ol",{},[143,320,321,322,325],{},"Open the client entity file of the custom entity you are animating. The client entity file can be found in the ",[193,323,324],{},"entity"," folder in the resource pack.",[143,327,328,329,332,333,336],{},"Inside \"description\", add a new object listing the effects. For sound effects, add an object called ",[193,330,331],{},"\"sound_effects\"",". For particle effects, add an object called ",[193,334,335],{},"\"particle_effects\"",".",[143,338,339,340,344,345,348],{},"Now, add your effect into this object as a key-value pair.\nThe key is the ",[341,342,343],"strong",{},"short name"," for the effect that we will from now on use to refer to the effect inside the scope of the entity.\nThe value is the full ",[341,346,347],{},"identifier"," of the effect.",[128,350,351],{},[193,352,353],{},"some_mob.entity.json",[216,355,357],{"className":218,"code":356,"language":220,"meta":62,"style":62},"{\n    \"format_version\": \"1.10.0\",\n    \"minecraft:client_entity\": {\n        \"description\": {\n            \n            \u002F\u002F Other information like identifier, models and textures\n            [...]\n\n            \"particle_effects\": {\n                \"rainbow\": \"snowstorm:rainbow\"\n            },\n            \"sound_effects\": {\n                \"pling\": \"rainbow.pling\"\n            }\n        }\n    }\n}\n",[193,358,359,363,374,381,388,393,399,405,411,418,429,435,443,454,460,465,470],{"__ignoreMap":62},[224,360,361],{"class":226,"line":227},[224,362,231],{"class":230},[224,364,365,367,369,372],{"class":226,"line":234},[224,366,238],{"class":237},[224,368,241],{"class":230},[224,370,371],{"class":244},"\"1.10.0\"",[224,373,248],{"class":230},[224,375,376,379],{"class":226,"line":251},[224,377,378],{"class":237},"    \"minecraft:client_entity\"",[224,380,257],{"class":230},[224,382,383,386],{"class":226,"line":260},[224,384,385],{"class":237},"        \"description\"",[224,387,257],{"class":230},[224,389,390],{"class":226,"line":268},[224,391,392],{"class":230},"            \n",[224,394,395],{"class":226,"line":281},[224,396,398],{"class":397},"sJ8bj","            \u002F\u002F Other information like identifier, models and textures\n",[224,400,401],{"class":226,"line":296},[224,402,404],{"class":403},"s7hpK","            [...]\n",[224,406,407],{"class":226,"line":302},[224,408,410],{"emptyLinePlaceholder":409},true,"\n",[224,412,413,416],{"class":226,"line":308},[224,414,415],{"class":237},"            \"particle_effects\"",[224,417,257],{"class":230},[224,419,421,424,426],{"class":226,"line":420},10,[224,422,423],{"class":237},"                \"rainbow\"",[224,425,241],{"class":230},[224,427,428],{"class":244},"\"snowstorm:rainbow\"\n",[224,430,432],{"class":226,"line":431},11,[224,433,434],{"class":230},"            },\n",[224,436,438,441],{"class":226,"line":437},12,[224,439,440],{"class":237},"            \"sound_effects\"",[224,442,257],{"class":230},[224,444,446,449,451],{"class":226,"line":445},13,[224,447,448],{"class":237},"                \"pling\"",[224,450,241],{"class":230},[224,452,453],{"class":244},"\"rainbow.pling\"\n",[224,455,457],{"class":226,"line":456},14,[224,458,459],{"class":230},"            }\n",[224,461,463],{"class":226,"line":462},15,[224,464,299],{"class":230},[224,466,468],{"class":226,"line":467},16,[224,469,305],{"class":230},[224,471,473],{"class":226,"line":472},17,[224,474,311],{"class":230},[180,476,478],{"id":477},"using-the-short-name-in-blockbench","Using the short name in Blockbench",[128,480,481],{},"Now that the short name is defined, we can use it in the animation. Simply enter the short name into the \"Effect\" input in the keyframe panel in Blockbench.",[128,483,484],{},[155,485],{"alt":486,"src":487},"Keyframe panel in Blockbench with short name placed into the effect input","\u002Fimages\u002Fwiki\u002Fguides\u002Fkeyframe-panel.png",[128,489,490],{},"Now the sound or particle effect should work inside Minecraft!",[492,493,494],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s7hpK, html code.shiki .s7hpK{--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic}",{"title":62,"searchDepth":234,"depth":251,"links":496},[497,498,499],{"id":134,"depth":234,"text":135},{"id":161,"depth":234,"text":162},{"id":174,"depth":234,"text":175,"children":500},[501,502,503],{"id":182,"depth":251,"text":183},{"id":314,"depth":251,"text":315},{"id":477,"depth":251,"text":478},"md",{"authors":506},[507],"JannisX11",{"title":104,"description":106},"guides\u002Fminecraft-particles-sounds","Bcv2bCu3i9-Kc61REoba4ERRsc-AUO7_6pnO4qbHP54",1776013264588]