
How does one make a lightning sword in vanilla Minecraft?
Aug 19, 2015 · /execute at [player] run summon minecraft:lightning_bolt ~ ~ ~ Summons summons lightning bolt at player position. ~ ~ ~ is needed. You can also use @r, @a and others in place of [player]. Apparently you need the at part before the run part.
I want to create a single sword that can summon lightning where …
Apr 5, 2021 · in this case, we want to check if the sword has been used, then check if it has the tag, then summon the lightning bolt /execute as @a[scores={usedSword=1..}] if data entity @s SelectedItem{Lightning:1} run summon minecraft:lightning_bolt ^ ^ ^DISTANCE. keep in mind "DISTANCE" is the distance away from the player you want to summon the ...
Lightning Sword - Commands, Command Blocks and Functions
Jun 30, 2015 · I already have Poison sword, and ice sword, but im stuck on how to get the lightning to spawn on the surrounding mobs/players. This is what I have so far... Both command blocks have this runing on them. /testfor @a {SelectedItem:{id:minecraft:diamond_sword,tag:{display:{Name:"Lightning Blade"}}}} /testfor …
How would you make a lightning sword? : r/MinecraftCommands
Nov 29, 2019 · /scoreboard objectives add click minecraft.custom:minecraft.damage_dealt. and now you need to execute from a player who has a score of 1 or more on the click objective and is holding the special sword. Run this in a repeating command block set to always active:
Lightning Sword Mod - Minecraft Mods - Mapping and Modding: …
Jul 4, 2015 · The sword summon lightning and hurts mobs within a four block radius from you. It's made completely out of lapis blocks, thus the sword is blue. I coded this mod because I wanted to just have this item to use with another mod without other items that I don't really plan to use. think of it as sort of an add-on or something like that How to use ...
Lightning Sword/Bow in Java 1.19? : r/Minecraft - Reddit
Jul 22, 2022 · A lightning sword is ill advised since that would just hurt the user as well. For lightning arrows shot from a specific bow, you're going to need a datapack with functions to utilize a method that ties the arrow to the player that fired it (otherwise any arrow fired would be affected regardless of the bow that was used).
Lightning Sword with Cooldown [I'm an idiot] - Minecraft Forum
Apr 8, 2015 · What this will do is when a player uses a golden sword lightning will strike the closest entity that is not the player that used the sword. Sometimes this will strike the wrong target, but for the most part it should be good enough. After they use the sword their cooldown will be set to 600 and each tick will reduce that by 1.
Does anyone know how to make a lighting spawning sword
May 15, 2021 · Make a scoreboard that counts when the player uses a certain type of sword, for example, iron sword. /scoreboard objectives add lightning (im not sure, but it would be something like item.use.iron_sword or smth)
How would i make a lightning sword? : r/Minecraft - Reddit
Nov 21, 2019 · I dont know how to make it shoot but if u want something like a thunder sword(it summons lightning on you if u hold it) try doing /enchant @p sharpness on a command block, set it to impulse then another command block to /execute @p ~ ~ …
Is there a way to make a sword strike an enemy with lightning
Oct 30, 2015 · As such, the following set of commands (for 1.8.8.) will try to spawn lightning as accurately as possible, but just be aware that it's not possible to be perfectly accurate. Prerequisites. Objective that automatically increases when a player hits an enemy with a diamond sword. /scoreboard objectives add UseSword stat.useItem.minecraft.diamond_sword