loading

The perfect choice of one-stop service for diversification of architecture.

A Minecraft Poison Sword

Update: @Skylinerw has commented that this will bug on multiplayer. To fix this, just ad the team selector for each command and as long everyone has there own team, everything should be fine. You can always ally teams. For this example I am using team a called team. Also, instead of teams, you can use the tag name%% where %% is the name.Update: for a better reset machine, remove the torch and place a block in its spot than a repeater touching the comparator. Make sure to set the clock at its slowest speed (press 3 times) and is connected to the string of Redstone that connects to the final command block.I have a different method to this. (This is an edit of Dragnoz's video's method)/The first command block tests for an item. In this case, I used dragnoz's command:This is the effect command. You can customize it, but here I gave made it so that when I use the Poisoned Blade, all entities in a range of 16 except for players get effect 2 (slowness) for 13 seconds which is level 2. The first three blocks to the left reset the comparators to off.

Then we have a clock running these commands 24/7

Then we have 1CB, followed by a comparator, 2CB followed by a comparator, 3CB, followed by a comparator.

Then at the end of the comparator we have a redstone string that inputs a signal to a redstone torch.

The redstone torch is connected to a wire of redstone which goes to a command block that resets the scoreboard (/scoreboard players set @pscore_damage_min1 damage 0) so the command can operator more than one time. You can do all sorts of stuff with the execute command, one of my favorite being that you when you replace the effect slowness with heal. In a nutshell it tests if you are holding (in slot 0) A sword named Poisoned blade > then it tests if you have done damage > finally it executes a command (effect) and then resets the score for further use.

I'm not the most experienced person when it comes to commands. I worked out how to do stuff like when holding x you have y effect. I wanted to think of something that gave other people an effect when hit. Here is what I came up with but I got stuck when it said it couldn't execute the command.

/scoreboard objective add nokill dummy

/scoreboard objective add poi dummy

/scoreboard players set [player] nokill 1

/scoreboard players add @a poi 1 SelectedItem:id:minecraft:diamond_sword,display:Name:Poison sword

/execute @a[score_poi_min1] /effect @p[score_nokill_max1,r5] HurtTime:1 minecraft:poison 10 1

·OTHER ANSWER:

I'm not the most experienced person when it comes to commands. I worked out how to do stuff like when holding x you have y effect. I wanted to think of something that gave other people an effect when hit. Here is what I came up with but I got stuck when it said it couldn't execute the command.

/scoreboard objective add nokill dummy

/scoreboard objective add poi dummy

/scoreboard players set [player] nokill 1

/scoreboard players add @a poi 1 SelectedItem:id:minecraft:diamond_sword,display:Name:Poison sword

/execute @a[score_poi_min1] /effect @p[score_nokill_max1,r5] HurtTime:1 minecraft:poison 10 1

A Minecraft Poison Sword 1

GET IN TOUCH WITH Us
recommended articles
Related Blogs blog
Asymptotic Test of Equality of Coefficients From Two Different Regressions
We can construct the regression:$$beginbmatrix y_1 y_2 endbmatrixbeginbmatrix x_1 & 0 x_2 & x_2 endbmatrixbeginbmatrix beta_1 Delta endbmatrixbeginbmatrix e_...
Probability with Expected Value for Diagnostic Tests
This problem can be solved by using the linearity of expectation again and again. I will give a complete illustration for part (a), but leave only hints part (b) as ...
Ubuntu 10 Server Postfix to Relay on My ISP
I will just post here what I found looking in a lot of place, blogs, forums, etc...Most people just said: gave up - don't use postfix - what you need is not a SMTP s...
Variable Is Not Visible in Test Class
That's because you did not label your properties as public (you don't have an access modifier at all) in your class. I am going under the assumption that you wanted ...
Copy Directory Structure with Random Number of Files
First find all directories:Then parse these directories to a script, whichIn this case 2 random files are copied.In my example the script randomCopy.sh looks like th...
How Do I Write an Apex Unit Test?
This answer is not intended to teach you everything about writing unit tests, nor to specifically answer every question, but to provide a quick summary and links to ...
How Do We Split SPSS Dataset into 2 Dataset to Perform Internal Validation? Closed
Data -> Select Cases. Choose "Random sample of cases". You can either specify approximately 50% of the cases (SPSS Syntax below) or a specific number. You should ...
Problems of Phased Array Ground Penetrating Radar Detection System
Although GPR has been widely used in hydrology, engineering, environment and other fields, many basic theoretical and technical problems have not been fundamentally ...
Suggestions for Journaling, Bullet Notes, Activity, Wiki Like Application
So I am thinking of a possible answer to my own question:Build my own journal note entry app linked to a wiki.Zim Wiki uses a file based system for wiki. Maybe I cou...
How Many NCAA Football Bowls Are There?
About 8 I think1. where can i get ncaa football 10 rosters with names?For the last two years I got mine from "Pastapadre". From what i can tell they are really prett...
no data
Customer service
detect