@minecraft/server / EntityVisibilityRules
Interface: EntityVisibilityRules ​
Defined in: @minecraft/server/index.d.ts:23836
Controls when a waypoint is visible based on the state of the entity it tracks. These rules allow filtering waypoint visibility by entity conditions like sneaking, invisibility, and death state.
Extended by ​
Properties ​
showDead? ​
optionalshowDead?:boolean
Defined in: @minecraft/server/index.d.ts:23843
Remarks ​
Controls whether the waypoint is shown when the tracked entity is dead. If undefined, defaults to true.
showInvisible? ​
optionalshowInvisible?:boolean
Defined in: @minecraft/server/index.d.ts:23850
Remarks ​
Controls whether the waypoint is shown when the tracked entity is invisible. If undefined, defaults to true.
showSneaking? ​
optionalshowSneaking?:boolean
Defined in: @minecraft/server/index.d.ts:23857
Remarks ​
Controls whether the waypoint is shown when the tracked entity is sneaking. If undefined, defaults to true.