-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add Entity Visibility API #5973
Copy link
Copy link
Closed as not planned
Labels
resolution: invalidIssue or Request has no basis.Issue or Request has no basis.status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.type: featureRequest for a new Feature.Request for a new Feature.
Metadata
Metadata
Assignees
Labels
resolution: invalidIssue or Request has no basis.Issue or Request has no basis.status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.type: featureRequest for a new Feature.Request for a new Feature.
Type
Fields
Give feedbackNo fields configured for Feature.
Is your feature request related to a problem?
Right now, per-player entities are done mostly with sending packets. This is a hacky and unreliable way and requires either NMS or ProtocolLib usage and is prone to break with minecraft updates.
Describe the solution you'd like.
I'd like Paper to expand upon the
Player#hidePlayerandPlayer#showPlayermethods with new methodsPlayer#showEntity(Entity),Player#hideEntity(Entity)andPlayer#canSee(Entity)as well as overloadingWorld#spawnmethods with a booleanshownByDefaultand adding methodEntity#setShownByDefaultandEntity#isShownByDefault.Describe alternatives you've considered.
none
Agreements
Other
No response