Variants
Variants allow you to customize the appearance and spawn conditions of various entities and paintings in Minecraft. Kore provides type-safe DSL builders for creating custom variants for cats, cows, chickens, frogs, pigs, wolves, and paintings.
Entity Variants
Spawn Conditions
Most entity variants support spawn conditions that control when and where the variant appears. Available condition types:
- add(priority): Base condition with just a priority
- biome(priority, biomes...): Spawn in specific biomes or biome tags
- moonBrightness(priority, value): Spawn based on moon brightness (single value)
- moonBrightness(priority, min, max): Spawn based on moon brightness (range)
- structures(priority, structures...): Spawn near specific structures or structure tags
Higher priority values take precedence when multiple conditions match.
Cat Variants
Cat variants define the texture and spawn conditions for cats. You can specify biomes, moon brightness, and structures as spawn conditions.
Produces JSON:
Cow Variants
Cow variants define the texture, model, and spawn conditions for cows.
Produces JSON:
Chicken Variants
Chicken variants define the texture, model, and spawn conditions for chickens.
Produces JSON:
Frog Variants
Frog variants define the texture and spawn conditions for frogs.
Produces JSON:
Pig Variants
Pig variants define the texture, model, and spawn conditions for pigs.
Produces JSON:
Wolf Variants
Wolf variants define separate textures for angry, tame, and wild states, along with spawn conditions.
Produces JSON:
Wolf Sound Variants
Wolf sound variants define custom sounds for wolves. Sound variants are independent of color variants and spawning biome. Wolves will make the sounds associated with their variant when they bark, pant, whine, growl, die, or get hurt.
Produces JSON:
Other Variants
Painting Variants
Painting variants define custom paintings with dimensions and optional metadata like author and title.
Produces JSON:
With default dimensions (1x1):
Produces JSON:
With author and title:
Produces JSON:
See Also
- Chat Components - For painting title and author text formatting
- Tags - Use variant tags for spawn conditions
