So I have an objective called holdingevilBread. The command running for that is /scoreboard players set @a holdingevilBread 1 {SelectedItem:{id:"minecraft:bread",tag:{display:{Name:"Evil Bread",Lore:["Eat this"]}}}}
Then I have an objective called evilBread that has stat.useItem.minecraft.bread and the commands is /scoreboard players set @a[score_evilBread_min=1] evilBread 0 and
/effect @a[score_evilBread_min=1,score_holdingevilBread_min=1] minecraft:slowness. However, this last effect command doesn't work. Well, it does, but it sets off when a player eats any bread, even if it's not evil bread. Does anyone have a fix for this?
Today I was trying to make an "Evil bread" that, when eaten, gives a player slowness. The system I set up was I did /scoreboard objectives add evilBread stat.useItem.minecraft.bread. Then, on a clock I have /effect @a[score_evilBread_min=1] minecraft:slowness 20 5 and /scoreboard players set @a[score_evilBread_min=1] evilBread 0. This works, when a player eats bread, it gives them slowness. Simple. But I need a way where if a player eats a bread named Evil Bread with a lore of "Eat this" it will give them slowness, but if they eat bread without this name and/or lore, nothing will happen. If anyone knows a way to do this, please put it down below. Thanks!
This is a simple way without a scoreboard but may not be the most practical at all times:
/execute @p ~ ~ ~ testforblock ~ ~-1 ~ air
This just tests if a player is in the air. Again, if won't be perfect for constant use, but if your looking for just once at a certain time, this would be better. Sorry if this didn't help that much.
So today I was trying to make a machine that allows me to place down a silverfish spawn egg named Stone_break. and here's what it needs to do: summons an armor stand and a stone block then dies. This would be easy, but here's the catch: I have limited space. I am using a constant 0 tick redstone clock. So, for this to work, here's the commands I have running: /execute @e[name=Stone_break] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:Stone_BreakAction}. Second: /execute @e[type=ArmorStand,name=Stone_BreakAction] ~ ~ ~ kill @e[name=Stone_break,r=0] This works and gets you the armor stand and kills the silverfish. However, I also need it to place a stone block. To do this, I tried running /execute @e[name=Stone_break] ~ ~ ~ setblock ~ ~ ~ stone. This didn't place a stone block. The only other thing I could think of was to run the setblock stone command at the Stone_BreakAction armor stand, but this would obviously make it so the stone would be placed every tick and be unbreakable. Does anyone know how to, using only a 0 tick clock and no other redstone, place one stone block before the silverfish dies? If so, please put it
Today I was trying to make a machine that can pull players towards a certain location. Basically what I need is, there's an armor stand named Puller. When a player is within a radius of fifteen of puller, he/she will start slowly moving towards it. No matter what direction they are facing, they get pulled in towards it. I don't want it where they are just teleported in to it right away, I want it so they start gradually moving towards Puller from any direction. If anyone knows how I can do this, please put it
Today I was trying to make a troll potion to prank some friends. The concept is simple: a speed potion that says it gives you speed, but it actually gives you poison. I need to use /summon Item to get this potion. I'm pretty sure there's a tag for items called HideFlags where you can hide enchantments and such but does anyone know how to make it look like it has speed, instead when a player drinks it they get poison. If anyone knows how to do this, please put it
Today I was making a fake dimension to prank some friends and I need a bit of help. I need a way to teleport a player one block above an armor stand named Teleport. So, here's the first command I tried:
Today I was attempting to create a sorting system with command blocks, but I couldn't figure out how. I want to know if there's a simple and compact sorting system you can make with command blocks. If anyone has a design, please put it
0
Or, if you want, you can do /testfor NAME such as /testfor BlazinCampfire
0
Actually, I need some help.
So I have an objective called holdingevilBread. The command running for that is /scoreboard players set @a holdingevilBread 1 {SelectedItem:{id:"minecraft:bread",tag:{display:{Name:"Evil Bread",Lore:["Eat this"]}}}}
Then I have an objective called evilBread that has stat.useItem.minecraft.bread and the commands is /scoreboard players set @a[score_evilBread_min=1] evilBread 0 and
/effect @a[score_evilBread_min=1,score_holdingevilBread_min=1] minecraft:slowness. However, this last effect command doesn't work. Well, it does, but it sets off when a player eats any bread, even if it's not evil bread. Does anyone have a fix for this?
0
Guys, I already figured it out and used it
0
Hey FreeMotion! Thanks for the idea, this should work for me.
0
Hello again!
Today I was trying to make an "Evil bread" that, when eaten, gives a player slowness. The system I set up was I did /scoreboard objectives add evilBread stat.useItem.minecraft.bread. Then, on a clock I have /effect @a[score_evilBread_min=1] minecraft:slowness 20 5 and /scoreboard players set @a[score_evilBread_min=1] evilBread 0. This works, when a player eats bread, it gives them slowness. Simple. But I need a way where if a player eats a bread named Evil Bread with a lore of "Eat this" it will give them slowness, but if they eat bread without this name and/or lore, nothing will happen. If anyone knows a way to do this, please put it down below. Thanks!
0
This is a simple way without a scoreboard but may not be the most practical at all times:
/execute @p ~ ~ ~ testforblock ~ ~-1 ~ air
This just tests if a player is in the air. Again, if won't be perfect for constant use, but if your looking for just once at a certain time, this would be better. Sorry if this didn't help that much.
0
Hello, again!
So today I was trying to make a machine that allows me to place down a silverfish spawn egg named Stone_break. and here's what it needs to do: summons an armor stand and a stone block then dies. This would be easy, but here's the catch: I have limited space. I am using a constant 0 tick redstone clock. So, for this to work, here's the commands I have running: /execute @e[name=Stone_break] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:Stone_BreakAction}. Second: /execute @e[type=ArmorStand,name=Stone_BreakAction] ~ ~ ~ kill @e[name=Stone_break,r=0] This works and gets you the armor stand and kills the silverfish. However, I also need it to place a stone block. To do this, I tried running /execute @e[name=Stone_break] ~ ~ ~ setblock ~ ~ ~ stone. This didn't place a stone block. The only other thing I could think of was to run the setblock stone command at the Stone_BreakAction armor stand, but this would obviously make it so the stone would be placed every tick and be unbreakable. Does anyone know how to, using only a 0 tick clock and no other redstone, place one stone block before the silverfish dies? If so, please put it
right here. Thanks!
|
|
|
V
0
Hello, again!
Today I was trying to make a machine that can pull players towards a certain location. Basically what I need is, there's an armor stand named Puller. When a player is within a radius of fifteen of puller, he/she will start slowly moving towards it. No matter what direction they are facing, they get pulled in towards it. I don't want it where they are just teleported in to it right away, I want it so they start gradually moving towards Puller from any direction. If anyone knows how I can do this, please put it
right here. Thanks!
|
|
|
V
4
Why can't everything just stay the same so we don't have to fix things?
0
Oops, Didn't even catch that. I tried it with out the extra coordinate not knowing there was an extra
0
Hello again!
Today I was trying to make a troll potion to prank some friends. The concept is simple: a speed potion that says it gives you speed, but it actually gives you poison. I need to use /summon Item to get this potion. I'm pretty sure there's a tag for items called HideFlags where you can hide enchantments and such but does anyone know how to make it look like it has speed, instead when a player drinks it they get poison. If anyone knows how to do this, please put it
right here. Thanks!
|
|
|
V
0
Works for me, check if chunks are loaded, check if area getting cloned and area blocks are being cloned to are not over lapping.
0
Hello, again!
Today I was making a fake dimension to prank some friends and I need a bit of help. I need a way to teleport a player one block above an armor stand named Teleport. So, here's the first command I tried:
/tp illoomination @e[type=ArmorStand,name=Teleport] ~ ~1 ~
This gave me an error message. So next, I tried this:
/execute @e[type=ArmorStand,name=Teleport] ~ ~1 ~ tp illoomination ~ ~1 ~
This just teleported me one block up of where I was.
Does anyone know how I can do this? If so, please put it
right here. Thanks!
|
|
|
V
0
Hello again!
Today I was attempting to create a sorting system with command blocks, but I couldn't figure out how. I want to know if there's a simple and compact sorting system you can make with command blocks. If anyone has a design, please put it
right here. Thanks!
|
|
|
V
0
Okay, I figured that would happen. Do you have any alternative ideas I can use?