Overworld.createExplosion(targetLocation, 10) ĬreateFireAndWaterExplosions.ts const overworld = mc.world.getDimension("overworld") Ĭonst explosionLoc = !`) Log("Creating an explosion of radius 10.") Examples createExplosion.ts const overworld = mc.world.getDimension("overworld") Radius, in blocks, of the explosion to create.ĮxplosionOptions?: ExplosionOptions = nullĪdditional configurable options for the explosion. Properties idĬreateExplosion(location: Vector3, radius: number, explosionOptions?: ExplosionOptions): voidĬreates an explosion at the specified location. Where possible, this documentation reflects the latest updates to APIs in Minecraft beta versions.Ī class that represents a particular dimension (e.g., The End) within a world. Check the Minecraft Changelog for details on any changes to Beta APIs. As with all experiments, you may see changes in functionality in updated Minecraft versions. These APIs are experimental as part of the Beta APIs experiment.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |