mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
#994: Add methods to convert between an entity and a string
By: Jishuna <joshl5324@gmail.com>
This commit is contained in:
@@ -27,6 +27,8 @@ import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.EntityFactory;
|
||||
import org.bukkit.entity.EntitySnapshot;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.SpawnCategory;
|
||||
import org.bukkit.event.inventory.InventoryType;
|
||||
@@ -1461,6 +1463,15 @@ public interface Server extends PluginMessageRecipient {
|
||||
@NotNull
|
||||
ItemFactory getItemFactory();
|
||||
|
||||
/**
|
||||
* Gets the instance of the entity factory (for {@link EntitySnapshot}).
|
||||
*
|
||||
* @return the entity factory
|
||||
* @see EntityFactory
|
||||
*/
|
||||
@NotNull
|
||||
EntityFactory getEntityFactory();
|
||||
|
||||
/**
|
||||
* Gets the instance of the scoreboard manager.
|
||||
* <p>
|
||||
|
Reference in New Issue
Block a user