mojira.dev
MC-87110

Some command blocks don't work on all computers

I know this sounds very strange, but I also don't know what it is.
In my map, I have a built in deep sea diver helmet concept, which gives you night vision and water breathing when you're inside water and wearing a pumpkin. This concept strangely works on my computer, but not on others'. I know this isn't a bug you usually see here, but I don't get it either. If needed, I can send the map file with explanations on how to activate this.
Commands:
(Repeating command block) scoreboard players set @a dsdh 0

(Chain command block powered by previous command block) scoreboard players set @a dsdh 1 {Inventory:[{id:"minecraft:pumpkin",Slot:103b,tag:{display:{Name:"Deep Sea Diver Helmet"}}}]}

(Repeating command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ water -1 effect @a night_vision 6000 1 true

(Chain command block powered by previous command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ air -1 effect @a night_vision 0 1 true

(Repeating command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ water -1 effect @a water_breathing 6000 1 true

(Chain command block powered by previous command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ air -1 effect @a water_breathing 0 1 true

Comments 9

1.6.4 isn't supported anymore

Oops, I accidentally typed 1.6.4. Sorry, it's 15w34d.

Provide the commands used

(Repeating command block) scoreboard players set @a dsdh 0

(Chain command block powered by previous command block) scoreboard players set @a dsdh 1 {Inventory:[{id:"minecraft:pumpkin",Slot:103b,tag:{display:
{Name:"Deep Sea Diver Helmet"}

}}]}

(Repeating command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ water -1 effect @a night_vision 6000 1 true

(Chain command block powered by previous command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ air -1 effect @a night_vision 0 1 true

(Repeating command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ water -1 effect @a water_breathing 6000 1 true

(Chain command block powered by previous command block) execute @a[score_dsdh_min=1] ~ ~ ~ detect ~ ~1 ~ air -1 effect @a water_breathing 0 1 true

note: there are 15 diffrent water data values, and there is a diffrence between flowing_water and water
air only comes in data value 0
-1 test for all values, but water and flowing_water are diffrent blocks on their own
make sure you test in the exact same water when you test it

I did test on the exact same water. It's all water, no flowing_water.

what's the enviroment on the other computer(s)?

Nevermind, it's OK. You can close this.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Spake Miner

(Unassigned)

Unconfirmed

Minecraft 15w34d

Retrieved