Skip to content

Release 1.9.3

Choose a tag to compare

@tastybento tastybento released this 16 Aug 19:26
· 12 commits to master since this release
c73e5e0

New In This Release

Configuring Custom Mobs

You can now spawn mobs with specific characteristics, such as charged creepers or rainbow sheep. This is done by adding a custom data tag to the mob type in the mobs section of your biomes.yml file. Credit to @stuffyerface for this new feature!

The format for defining a mob is as follows:

ENTITY_TYPE[#CUSTOM_DATA]: <% chance>:<spawn_block>

  • ENTITY_TYPE: The type of mob to spawn (e.g., CREEPER, WOLF). This is mandatory.
  • #CUSTOM_DATA: An optional tag to specify a variant or special state for the mob. If omitted, the mob will spawn in its default state.
  • <% chance>: The percentage chance for the mob to spawn during a spawn attempt.
  • <spawn_block>: The material the mob must spawn on.

Supported Custom Mob Data

Here is a list of currently supported mobs and their custom data tags. The custom data tags are case-sensitive.

  • CREEPER

    • #CHARGED: Spawns a charged creeper.
  • CHICKEN

    • #JOCKEY: Spawns a baby zombie riding the chicken.
  • SHEEP

    • #RAINBOW: Spawns a rainbow sheep (jeb_).
  • WOLF

    • #ASHEN: Spawns an ashen wolf.
    • #BLACK: Spawns a black wolf.
    • #CHESTNUT: Spawns a chestnut wolf.
    • #PALE: Spawns a pale wolf (the original variant).
    • #RUSTY: Spawns a rusty wolf.
    • #SNOWY: Spawns a snowy wolf.
    • #SPOTTED: Spawns a spotted wolf.
    • #STRIPED: Spawns a striped wolf.
    • #WOODS: Spawns a woods wolf.

If you specify custom data for a mob type that does not support it, or use an invalid data tag, an error will be logged to the console, and the mob will not be added to the biome recipe.


Example biomes.yml

This example demonstrates how to use the custom mob data tags in a biome definition.

biomes:
  custom_mob_land:
    friendlyname: "Custom Mob Land"
    biome: PLAINS
    icon: SPAWNER
    priority: 100
    contents:
      GRASS_BLOCK: 1
      STONE: 1
      DIRT: 1
    mobs:
      # A regular pig
      PIG: 10:GRASS_BLOCK
      # A charged creeper
      CREEPER#CHARGED: 5:STONE
      # A rainbow sheep
      SHEEP#RAINBOW: 5:GRASS_BLOCK
      # A baby zombie chicken jockey
      CHICKEN#JOCKEY: 2:DIRT
      # A snowy wolf
      WOLF#SNOWY: 8:GRASS_BLOCK
      # A striped wolf
      WOLF#STRIPED: 8:GRASS_BLOCK
    moblimit: 9
    maxmobs: 10

Compatibility

✔️ BentoBox API 3.0.0
✔️ Minecraft 1.21.x - NOTE this addon will not work with previous versions. If you need those, use an older version of the addon
✔️ Java 21

Changelog

Legend

  • 🔡 locale files may need to be regenerated or updated.
  • ⚙️ config options have been removed, renamed or added.
  • 🔺 special attention needed.

What's Changed

New Contributors

Full Changelog: 1.9.2...1.9.3