primaryColor
Returns the value of the
primaryColor
record component.- Returns:
- the value of the
primaryColor
record component
static final com.mojang.serialization.Codec<Pokedex>
static final net.minecraft.resources.ResourceKey<Pokedex>
static final net.minecraft.resources.ResourceKey<Pokedex>
static final net.minecraft.resources.ResourceKey<Pokedex>
static final com.mojang.serialization.Codec<Pokedex>
static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<Pokedex>>
Pokedex(net.minecraft.network.chat.Component name,
int priority,
Color primaryColor,
Color secondaryColor,
Color textColor,
PokemonProvider pokemon)
Pokedex(net.minecraft.network.chat.Component name,
int priority,
Color primaryColor,
Color secondaryColor,
Color textColor,
PokemonProvider pokemon,
PokemonPredicate acceptanceTest)
Pokedex
record class.acceptanceTest
record component.boolean
final boolean
final int
hashCode()
net.minecraft.network.chat.Component
name()
name
record component.pokemon()
pokemon
record component.primaryColor
record component.int
priority()
priority
record component.secondaryColor
record component.textColor
record component.final String
toString()
Pokedex
record class.name
- the value for the name
record componentpriority
- the value for the priority
record componentprimaryColor
- the value for the primaryColor
record componentsecondaryColor
- the value for the secondaryColor
record componenttextColor
- the value for the textColor
record componentpokemon
- the value for the pokemon
record componentacceptanceTest
- the value for the acceptanceTest
record componentObjects::equals(Object,Object)
; primitive components are compared with '=='.name
record component.name
record componentpriority
record component.priority
record componentprimaryColor
record component.primaryColor
record componentsecondaryColor
record component.secondaryColor
record componenttextColor
record component.textColor
record componentpokemon
record component.pokemon
record componentacceptanceTest
record component.acceptanceTest
record component