Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
More Axolotl Variants API Wiki

More Axolotl Variants API Wiki & Guide

wiki.9minecraft.net/more-axolotl-variants-api/

More Axolotl Variants API lets you implement new axolotl variants. Also changes how axolotls are registered from an int to a tag (“minecraft:lucy” for example). To summon variants you use said identifiers.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I summon a custom axolotl variant with a command?
Use /summon minecraft:axolotl ~ ~ ~ {Variant:"yourmodid:yourvariantname"}, replacing the identifier with the variant you registered. The variant field now takes a namespaced string instead of a number.
Why does my old axolotl summon command with a number no longer work?
This mod changes the Variant field from an integer to a resource location string, so numeric values are no longer valid. Use the identifier form like "minecraft:lucy" instead.
How do I register a new axolotl variant in my own mod?
Call ModdedAxolotlVariant.register(new ResourceLocation("yourmodid", "yourvariantname")).natural().build() for a normal variant, or drop the .natural() call to make it breeding-only. Run this during your mod's initialization.
What's the difference between a natural variant and a breeding-only variant?
Natural variants can spawn in the world on their own, while breeding-only variants only appear when bred from other axolotls. Add .natural() to the builder chain to make a variant spawn naturally.

See all 10 More Axolotl Variants API questions ›

Other wikis you may find useful.