Skip to content

Mob Variants

Tazer edited this page Mar 11, 2025 · 26 revisions

Mob variants are quite self-explanatory. They're new data-driven variants for mobs that spawn in certain biomes and change the texture location of the entity affected.

List of Mob Variant Types

  • Bee
  • Billhook Bass
  • Camel
  • Chicken
  • Cod
  • Cow
  • Deer
    • Antlers
    • Base
    • Pattern
  • Dolphin
  • Drowned
  • Fox
  • Glow Squid
  • Goat
  • Husk
  • LLama
  • Mooshroom
  • Pig
    • Base
    • Overlay
  • Rabbit
  • Salmon
  • Sheep
  • Squid
  • Turtle
  • Zombie

For Developers:

If you'd like to add new mob variants, you can add them through a datapack under data/yourmodid/nomansland/mob_variants/variant_type/variant.json variant_type being one of the above. Currently, you cannot add new variant types.

Most variant json files are structured like this:

{
  "texture": "yourmodid:entity/mob_variants/variant", // The texture the mob will use, multiple textures are needed for some mobs
  "weight": 1, // The weighted value of the mob variant if in a matching biome
  "biomes": "#yourmodid:entity/biome_tag" // An optional holder set of biomes, the mob variant will be weighted in every biome if not present
}

However, this varies from type to type according to what textures are needed, refer to the source code for examples.

New Mechanics

Blocks & Items

Mobs

Animals

  • [Deer]
  • [Goose]
  • [Moose]
  • [Tortoise]
  • [Billhook Bass]

Monsters

None yet...

Clone this wiki locally