public interface NpcFactory extends Terminable
Npcs.EMPTY| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this resource.
|
Npc |
spawnNpc(org.bukkit.Location location,
String nametag,
String skinPlayer)
Deprecated.
in favour of
spawnNpc(Location, String, String, String) |
Npc |
spawnNpc(org.bukkit.Location location,
String nametag,
String skinTextures,
String skinSignature)
Spawns a NPC at the given location
|
bindWith, closeAndReportException, closeSilently, isClosed@Nonnull @Deprecated Npc spawnNpc(@Nonnull org.bukkit.Location location, @Nonnull String nametag, @Nonnull String skinPlayer)
spawnNpc(Location, String, String, String)location - the location to spawn the npc atnametag - the nametag to give the npcskinPlayer - the username of the player whose skin the NPC should have@Nonnull Npc spawnNpc(@Nonnull org.bukkit.Location location, @Nonnull String nametag, @Nonnull String skinTextures, @Nonnull String skinSignature)
location - the location to spawn the npc atnametag - the nametag to give the npcskinTextures - the skin textures the NPC should haveskinSignature - the signature of the provided texturesvoid close()
Terminableclose in interface AutoCloseableclose in interface TerminableCopyright © 2022. All rights reserved.