Stijn Defour
- StijnD
- JIRAUSER557376
- Europe/Stockholm
- Yes
- No
the query 'query.get_nearby_entities' is not working when called inside a block permutation.
For example, the query below always returns false (even when player is standing in a radius of less than 4 blocks):
query.count(query.get_nearby_entities(4, 'minecraft:player'))=0the query 'query.get_nearby_entities' is not working when called inside a block permutation.
For example, the query below always returns false (even when player is standing in a radius of less than 4 blocks):
query.count(query.get_nearby_entities(4, 'minecraft:player')) > 0
the query 'query.get_nearby_entities' is not working when called inside a block permutation.
For example, the query below always returns false (even when player is standing in a radius of less than 4 blocks):
query.count(query.get_nearby_entities(4, 'minecraft:player')) > 0PS: I've tested the query from an animation controller on the player and the query does work, just not on blocks. So I'm sure its just an issue when using on blocks.
(blocks) 'condition' on 'minecraft:ticking' not workingfixed
The 'condition' filter on 'minecraft:ticking' not working for blocks. Even when set to 0, the event still triggers.
"minecraft:ticking": {
{ "condition": "0", "event": "dd:break_block", "target": "self" }
"range": [1, 1],
"looping": true,
"on_tick":}
fixed
When using 'trigger' events in on_interact component, the 'condition' is not working correctly.
If you look at the example code, the condition always true. Even when the player is not holding a stick.
To make sure it wasn't the get_equiped_item_name query that was not working correclty I also tested following code, with same problems:
When using 'trigger' events in on_interact component, the 'condition' is not working correctly.
If you look at the example code, the condition always true. Even when the player is not holding a stick.
To make sure it wasn't the get_equiped_item_name query that was not working correclty I also tested following code, with same problems:
When using 'trigger' events in on_interact component, the 'condition' is not working correctly.
If you look at the example code, the condition always true. Even when the player is not holding a stick.
To make sure it wasn't the get_equiped_item_name query that was not working correclty I also tested following code, with same problems (block still gets
placed, even when condition is '0'):
query.relative_block_has_any_tag not workingon blocksquery.relative_block_has_any_tag not working with tags in block permutations
query.relative_block_has_any_tag not workingwith tags in blockpermutationsquery.relative_block_has_any_tag not working inside permutations
query.relative_block_has_any_tag not workinginside permutationsquery.relative_block_has_any_tag not working for blocks
'query.relative_block_has_any_tag' is not working inside block permutations.
It always return false, but doesn't give any errors when used.
query.relative_block_has_any_tag not working correctlyquery.relative_block_has_any_tag not with tag added inside permutation
query.relative_block_has_any_tag not with tagadded inside permutationquery.relative_block_has_any_tag not working if tag was added inside permutation


@ambient I know it was initially for entities. But there are so many posibilities if it gets added to blocks as well. Since it is a block query, I would think it would be supported by blocks. I don't think there's any reason why it should not be added to blocks.
@Jack It's already working again in version 1.16.100.59
@Jack Valdez 0 is the same as false, so yes if you test if it is equal to 0 it returns true because it is false.