mojira.dev
MC-84197

/execute with detect doesn't work with leaves

When I try to do this command:
/execute @p ~ ~ ~ detect ~ ~-1 ~ leaves 3 setblock ~ ~ ~ fire 0 replace
I get: "Failed to execute 'detect' as tonkku107"
even though it should set fire on the leaves.

Edit: I noticed this only happens with leaves

Attachments

Comments 5

There are 16 diffrent leave types, type(oak,birch,spruce,jungle) check decay, and decayable are all settings, you have to search a little longer to find which settings it has, placing jungle leaves sets type to jungle (3,7,11,15), check decay, and decayable are set to false if placed by hand

Facepalm nevermind then

it's just searching which one it is

hey I was just about to make an error report for this. Lucky I found this first, can't they just add one single ID per leaf-type?

that'd require all current leaves to get corupted, change in item itself is doable without breaking the world, but changing a block type to use 2 diffrent blocks instead of data values will break all already existing versions of the affected block

tonkku107

(Unassigned)

Unconfirmed

Minecraft 1.8.8

Retrieved