Skip to content

Fake Player API #1980

Description

@zml2008

It seems there are a few mods that use some sort of 'fake player' system in order to allow non-player actors to interact with the world. However, I've seen several implementations of this system that fail to replicate vanilla contracts of real players, causing conflicts with one of my mods.

By having one single fake player implementation in Fabric API, there would be only one set of quirks that mod developers would have to be aware of. Fabric API could also reasonably choose ways to alter the vanilla contracts if necessary to support a fake player system, in ways that other mods would have trouble getting away with.

Original issue: gnembon/fabric-carpet#1142
Another issue at the same point, caused by another incomplete fake player implementation: PaperMC/adventure-platform-mod#14

@altrisi @gnembon @TropheusJ what do you think about a Fabric API-based solution for your fake player systems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions