mojira.dev
MCPE-119469

Block "trigger" event condition doesn't work

Using this in a block event section to execute a second event depending on a condition doesn't check if the condition is true as a does not equal b yet it still runs the event.

{{{{ "gb:gen": { "randomize": [ { "trigger": { "event": "gb:gen_two", "condition": "a == b", "target": "self" } } ] }}}}

 

The full file is attached below.

Attachments

Comments 3

Android 8.0.0

 

Can Confirm that the trigger response still ignores both "condition" and "conditions" in the latest beta.

 

I have a demo behavior pack to Demonstrate it

 

steps to reproduce:

1). Load the attached addon

2). Use command "/give @s demo:demo_block"

3). Place the block

4). Tap the block

 

expected behavior: nothing happens as the chain of events is dependent on two conditions set to 0.

 

observed behavior: four blocks of bedrock are placed despite the 0 conditions.

 

Also I recommend adding the tags: block, event, and addon

Is this still an issue in the latest version (1.17.2)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

James Williams

(Unassigned)

Unconfirmed

Windows

1.16.201 Hotfix

Retrieved