Skip to content

On teleport: Push entities away instead of removing them #1643

@BONNe

Description

@BONNe

Description

Is your feature request related to a problem?

Currently, BentoBox has an annoying feature, which removes entities from the world, if the player teleports to home, and they are too close.
Yes, it is toggleable and there is a whitelist that prevents removing entities with a specific type.
However, I would like to suggest a better solution.

Describe the solution you'd like us to implement.

Instead of removing entities from the world, BentoBox could just push them X blocks away from the player.
This solution would have a force field look.

This would also solve an issue with withers and other entities that are in the whitelist but still instantly kills the player when he teleports back to his island.

Even, if an entity is pushed over the void or pushed outside the island border, it would be a much better solution, than the current one, which just removes the entity from the world.

Additional context

I just really dislike an option, that some plugins can just remove the entity from the world at any cost.

Also, this would be awesome, if the force field effect could be increased/decreased in size. f.e. instead of 5 blocks, you could give some player permission or other ways, and increase it to 10, or someone decrease it to 0 or 1...

Metadata

Metadata

Assignees

Labels

Status: Under investigationInvestigating the interest and the feasability of the issue.Type: EnhancementImprovement or modification which is usually a new feature.

Type

No type

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions