Package com.ryandw11.structure
Class NpcHandler.NpcInfo
java.lang.Object
com.ryandw11.structure.NpcHandler.NpcInfo
- Enclosing class:
- NpcHandler
NPC config information holder
-
Field Summary
Modifier and TypeFieldDescriptionThe list of commands to execute on click.The list of commands to execute on creation.boolean
If the commands should be executed sequentially.The entity type of the NPC.boolean
If the NPC is protected.boolean
If the NPC looks at the player.boolean
If the NPC moves around.The name of the NPC.The URL of the NPC. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the NPC. -
skinUrl
The URL of the NPC. -
movesAround
public boolean movesAroundIf the NPC moves around. -
looksAtPlayer
public boolean looksAtPlayerIf the NPC looks at the player. -
isProtected
public boolean isProtectedIf the NPC is protected. -
entityType
The entity type of the NPC.Villager by default.
-
commandsOnCreate
The list of commands to execute on creation. -
commandsOnClick
The list of commands to execute on click. -
commandsSequential
public boolean commandsSequentialIf the commands should be executed sequentially.
-
-
Constructor Details
-
NpcInfo
public NpcInfo()
-