Class ShopkeeperData
java.lang.Object
com.pixelmonmod.pixelmon.entities.npcs.registry.ShopkeeperData
Server-side data defining a shopkeeper.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
addTexture
(String texture) int
Gets the number of different possible names that the shopkeeper has.int
getNextNameIndex
(int nameIndex) getNextTexture
(String texture) int
int
Gets the shopkeeper's possible textures.
-
Field Details
-
id
-
type
-
-
Constructor Details
-
ShopkeeperData
-
-
Method Details
-
addTexture
-
addChat
-
addItem
-
getRandomChatIndex
public int getRandomChatIndex() -
getRandomNameIndex
public int getRandomNameIndex() -
getRandomTexture
-
getItemList
-
getItem
-
getNextNameIndex
public int getNextNameIndex(int nameIndex) -
getNextTexture
-
countNames
public int countNames()Gets the number of different possible names that the shopkeeper has.- Returns:
- The number of different possible names that the shopkeeper has.
-
getTextures
Gets the shopkeeper's possible textures.- Returns:
- The shopkeeper's possible textures.
-
addBiome
-
getBiomes
-