MicrosoftDocs / minecraft-creator

This is the repository for Minecraft Bedrock documentation.
Creative Commons Attribution 4.0 International
168 stars 128 forks source link

This doesn't seem valid. Please verify. #822

Closed Jbenisek closed 2 months ago

Jbenisek commented 3 months ago

Both these example don't seem valid

MSDocs Def for this field: Range | [10, 10] | Vector [a, b] | The maximum horizontal and vertical distance another entity can be from this and have the filters checked against it.

Example 2 "minecraft:entity_sensor": { "sensor_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" }

Example 1
"minecraft:entity_sensor":{ "maximum_count": -1, "minimum_count": 1, "cooldown": -1, "require_all": false, "range": 10, "event_filters": {"test": "has_trade_supply"}, "event": "minecraft:offer_trade" }


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

iconicNurdle commented 2 months ago

@Jbenisek You're right - I got a new set of examples and popped them in there. The changes should be visible after the next document push. Thanks! I'm closing this issue, but feel free to re-open and we can keep talking. Thanks!