It only works with few types of mobs, like creepers cause you can testfor a charged creeper. But it is impossible to test a lightning. So it won´t work with all entities.
- Registered Member
Member for 5 years, 2 months, and 26 days
Last active Sat, Oct, 15 2016 00:14:07
- 1 Follower
- 567 Total Posts
- 28 Thanks
Aug 10, 2015Posted in: Commands, Command Blocks and Functions
First you need to create a number of scoreboards that you need. In this case i see that you need two. I will call them X and Y.
/execute @p[score_X_min=20,score_X=20] ~ ~ ~ /scoreboard players add @a Y 20
If it doesn´t work answer the message.
- To post a comment, please login or register a new account.