Package com.ranull.graves.integration
Class PlayerNPC
java.lang.Object
com.ranull.graves.manager.EntityDataManager
com.ranull.graves.integration.PlayerNPC
Deprecated.
Manages NPC interactions and corpse creation related to player graves using NPCLib.
Extends EntityDataManager to handle entity data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCorpse(UUID uuid, org.bukkit.Location location, Grave grave, boolean createEntityData) Deprecated.since 4.9.9.1 — Unmaintained.voidcreateCorpse(org.bukkit.Location location, Grave grave) Deprecated.since 4.9.9.1 — Unmaintained.voidDeprecated.since 4.9.9.1 — Unmaintained.voidDeprecated.since 4.9.9.1 — Unmaintained.voidremoveCorpse(EntityData entityData) Deprecated.since 4.9.9.1 — Unmaintained.voidremoveCorpse(Grave grave) Deprecated.since 4.9.9.1 — Unmaintained.voidremoveCorpse(Map<EntityData, dev.sergiferry.playernpc.api.NPC.Global> entityDataMap) Deprecated.since 4.9.9.1 — Unmaintained.voidDeprecated.since 4.9.9.1 — Unmaintained.Methods inherited from class com.ranull.graves.manager.EntityDataManager
createEntityData, createEntityData, getEntityData, getEntityDataMap, getGrave, getGrave, getLoadedEntityDataList, removeEntityData, removeEntityData
-
Constructor Details
-
PlayerNPC
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Constructs a new PlayerNPC instance with the specified Graves plugin.- Parameters:
plugin- The main Graves plugin instance.
-
-
Method Details
-
registerListeners
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Registers the NPC interaction listeners. -
unregisterListeners
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Unregisters the NPC interaction listeners. -
createCorpses
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Creates NPC corpses based on the cached entity data. -
createCorpse
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Creates a new NPC corpse at the specified location with the given grave data.- Parameters:
location- The location to spawn the NPC.grave- The grave data for the NPC.
-
createCorpse
@Deprecated(since="4.9.9.1") public void createCorpse(UUID uuid, org.bukkit.Location location, Grave grave, boolean createEntityData) Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Creates a new NPC corpse with a specific UUID at the given location using the provided grave data.- Parameters:
uuid- The UUID for the NPC.location- The location to spawn the NPC.grave- The grave data for the NPC.createEntityData- Whether to create entity data for the NPC.
-
removeCorpse
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Removes the NPC corpse associated with the given grave.- Parameters:
grave- The grave whose associated NPC corpse should be removed.
-
removeCorpse
Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Removes the NPC corpse associated with the given entity data.- Parameters:
entityData- The entity data whose associated NPC corpse should be removed.
-
removeCorpse
@Deprecated(since="4.9.9.1") public void removeCorpse(Map<EntityData, dev.sergiferry.playernpc.api.NPC.Global> entityDataMap) Deprecated.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.Removes multiple NPC corpses based on the provided entity data map.- Parameters:
entityDataMap- A map of entity data to NPC.Global instances to be removed.
-
FancyNPCsinstead.