The Bedrock Script API currently does not provide server developers with a supported way to control whether a specific player can see a specific entity.
I am requesting APIs such as:
player.hideEntity(entity)player.showEntity(entity)player.canSee(entity)
These would control rendering per player, without removing or modifying the entity itself for other players.
This would enable many useful server features, including:
- Per-player holograms and NPCs.
- Showing different entities to different players.
- Hiding players from each other when desired.
- Minigames with player-specific entities.
- Quest/RPG systems with personalized NPCs.
- Reducing client rendering load by hiding unnecessary entities.
- Creating illusions and other visual effects without changing the actual server state.
For example, when a player joins, a server could create a hologram that is only visible to that specific player. Another player could have a completely different hologram in the same location.
This should be server-authoritative and only affect what each client renders. The entity would still exist on the server and remain visible to players who have not had it hidden.
A similar API for blocks would also be extremely useful, allowing servers to control which blocks are rendered differently for individual players without changing the actual world state.
0 Comments
Please sign in to leave a comment.
Post a new comment: