Closed Kaioga5 closed 6 months ago
The examples given do not follow the new syntax, to update them: First example:
"minecraft:entity_sensor": { "subsensors": [ { "range": [10, 10], "cooldown": -1, "require_all": false, "event_filters": { "test": "has_trade_supply" }, "event": "minecraft:offer_trade" } ] }
Second example:
"minecraft:entity_sensor": { "subsensors": [ { "range": 2.5, "relative_range": false, "minimum_count": 1, "event_filters": { "any_of": [ { "test": "is_family", "subject": "other", "value": "mob" }, { "all_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "none_of": { "test": "has_ability", "subject": "other", "value": "instabuild" } } ] } ] }, "event": "minecraft:start_half_puff" } ] }
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
Thank you so much! examples are updated and will be published next week.
The examples given do not follow the new syntax, to update them: First example:
Second example:
These are the updated examples, following the new syntax.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.