primary
public net.minecraft.world.level.material.MapColor primary()
Returns the value of the
primary record component.- Returns:
- the value of the
primaryrecord component
VanillaMapColorCodecsMultiColored(net.minecraft.world.level.material.MapColor primary,
net.minecraft.world.level.material.MapColor secondary) MultiColored record class.static com.mojang.serialization.MapCodec<VanillaMapColorCodecs.MultiColored> final booleanfinal inthashCode()net.minecraft.world.level.material.MapColorprimary()primary record component.net.minecraft.world.level.material.MapColorsecondary record component.final StringtoString()MultiColored record class.primary - the value for the primary record componentsecondary - the value for the secondary record componentObjects::equals(Object,Object).primary record component.primary record componentsecondary record component.secondary record component