Forum


Notifications
Clear all

Power Blocks

XG
 XG
(@xg)
Active Member

Blocks that can give you powerups are awfully easy to make and take a bit of knowledge to make.

First you need a repeating command block with this command in it:
/execute @a ~ ~ ~ detect ~ ~-1 ~ (block name) (data value)

Have a comparator out of that and place Redstone and a repeater connecting to a impulse command block.
Then type:
/effect @p (effect) (time) (power) (if you don't want particles put true)

There you go!

If you repost this on the forums with minor changes it should include my name or ill report for non credit.

Quote
Topic starter Posted : 14/02/2018 9:02 am
(@koupah)
Active Member

For someone who seems so concerned with people giving them credit for their creation it seems like you have copied what you posted from elsewhere, that or you clearly don't know how to use the command. I think you're forgetting the detect function can then execute a command if the command block detects whatever it is you have inputted.

Copy and pastes
/execute @a ~ ~ ~ detect ~ ~-1 ~ (block name) (data value)

should actually be

/execute @a ~ ~ ~ detect ~ ~-1 ~ (block name) (data value) effect @p (effect) (time) (power) (if you don't want particles put true)

Literally copied your two commands into one

Credit: Myself

ReplyQuote
Posted : 17/02/2018 9:27 pm
(@radiatedmonkey)
Eminent Member

An easier way is to do it like this:

Place an always active repeating commandblock facing up with the command: /execute @e[type=item,name=(Name of your item)] - - - effect @p (effect) (duration) (amplifier) And true if you don't want particles like he said. On top of that commandblock you place an always active chain commandblock with the command: /kill @e[type=item,name=(Name of your item). If it's done correctly you will get the effect if you drop the powerup. Instead of the effect command you could also use a different command. ('-' represents a tilder)

ReplyQuote
Posted : 13/03/2018 4:11 pm
(@mcbedrock)
Reputable Member

Please add more details including pictures, so people are able to see what they are downloading thanks

ReplyQuote
Posted : 14/03/2018 12:29 pm
(@koupah)
Active Member

Please add more details including pictures, so people are able to see what they are downloading thanks

There is nothing here of which people can download?

ReplyQuote
Posted : 22/03/2018 2:02 am
Share: