Class GenderProperties
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.gender.GenderProperties
Stores the visual gender information for the gender of a given
 
Species- 
Constructor Summary
ConstructorsConstructorDescriptionGenderProperties(Gender gender, PaletteProperties[] palettes) Default constructor - 
Method Summary
Modifier and TypeMethodDescriptionGets the gendergetPalette(String name) Gets thePalettePropertiesassociated with the given name Will return null if not foundGets the palette properties of the palettes of the gendergetPalettes(Predicate<PaletteProperties> predicate) Gets the palette properties of the palettes of the gender matching the predicatebooleanisDefaultPalette(PaletteProperties palette)  
- 
Constructor Details
- 
GenderProperties
Default constructor- Parameters:
 gender- The genderpalettes- The palette properties of the gender
 
 - 
 - 
Method Details
- 
getGender
Gets the gender- Returns:
 - The gender
 
 - 
getPalettes
Gets the palette properties of the palettes of the gender- Returns:
 - The palette properties
 
 - 
getPalettes
Gets the palette properties of the palettes of the gender matching the predicate- Parameters:
 predicate- the palettes should match- Returns:
 - all palette properties that matches the predicate
 
 - 
getPalette
Gets thePalettePropertiesassociated with the given name Will return null if not found- Parameters:
 name- The name being searched for- Returns:
 - The palette properties
 
 - 
getDefaultPalette
 - 
isDefaultPalette
 - 
getRandomPalette
 
 -