[SPIGOT-3071] World.spawnEntity(Location, EntityType, SpawnReason) Created: 17/Feb/17  Updated: 31/Jan/24  Resolved: 31/Jan/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Nathan Wolf Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: spawn


 Description   

I would like to discuss the possibility of a PR that provides a World.spawnEntity method which accepts a SpawnReason.

This could be used for a variety of reasons:

  • world generators or populators being able to mimic natural spawning
  • A plugin simulating spawn eggs through custom mechanics
  • Special cases that wish to bypass other plugins which are blocking the CUSTOM spawn reason

Does this sound like something we would like to have, or would it be considered too abusable?



 Comments   
Comment by LW [ 30/Dec/21 ]

This is currently the only thing I need NMS for. I see that Paper has it so maybe it can be backported.

Generated at Sat Dec 13 15:21:36 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.