跳到主要内容

Protection Region Audience

Filter players based on if they are in a protection region

字段

字段类型默认值描述
regionRef<RegionDefinitionEntry>—Region definition that should be considered by this audience filter
invertedBooleanfalse—
TypeWriter 通用字段(children)
字段类型默认值描述
childrenList<Ref<AudienceEntry>>empty—

How to use it​

Players are in the audience while they are inside region. Use inverted to include everyone outside the region instead. Children of the entry (for example a scoreboard or a boss bar) are shown to that audience only. The audience updates when a player crosses a block border or teleports.