Modscraper Modscraper Minecraft
[BUB] Gender logo

[BUB] Gender

Mod

Mobs now have gender variants.

Type

Mod

Modrinth Downloads

21

Modrinth ID

MbyjNhpr

Last Updated

Apr 12, 2026

Description

Important: To avoid issues, make a backup of your world before adding this mod

Magnifying Glass

The mod adds a magnifying glass (found in the Tools & Utilities tab).

  • Right-click animal with magnifying glass in any hand – shows gender + sterile status.
  • In offhand – shows icons above scanned animals within radius.
  • In main hand – shows icon only when aiming at a scanned mob.

Settings

  • maleChance – chance for male gender in % (default 45)
  • femaleChance – chance for female gender in % (default 45)
  • displayRadius – radius for displaying icons in blocks (default 24)
  • allowMaleMaleBreed – allow male + male breeding (default false)
  • allowFemaleFemaleBreed – allow female + female breeding (default false)
  • allowSterileBreed – allow sterile animals to breed (default false)
  • enableVillagers – enable gender system for villagers (default true)
  • keepVillagerGender – preserve villager gender when turning into zombie and back (default true)
  • enabledMobs – list of mobs affected by the mod. You can add any mob by its ID

Sterile chance is calculated automatically. By default 45% male and 45% female — the remaining 10% is split equally: 5% of males will be sterile and 5% of females will be sterile. If you set 50% male and 50% female — there will be no chance for sterility, and mobs will not receive sterility.

Interaction Rules

Blocks certain interactions with mobs based on gender.

  • gender – which gender the rule applies to ("male", "female", "sterile")
  • itemIds – list of blocked items (e.g., ["minecraft:bucket", "mod:item"])

Action Rules

Interaction Rules (mobs)

Blocks using certain items on mobs depending on gender. For example, you can prevent milking male cows with a bucket.

  • mobId – entity ID
  • genders – list of genders to block ("male", "female", "sterile")
  • itemIds – list of items to block

Egg Laying Rules (eggBlockedMobs)

Blocks egg laying for certain mobs depending on gender. For example, male chickens will not lay eggs.

  • mobId – entity ID
  • genders – list of genders to block ("male", "female", "sterile")

Commands

  • /bub reload – reloads the config without restarting the game (requires OP permissions)
  • /bub reset – resets config to default values (requires OP permissions)
  • /bub scan – scans the registry and adds new animals to the mod (requires OP permissions)
  • /bub clearcache – clears gender cache on the client (no permissions required)

Config File

Config file location: config/genderbub/genderbub.json

FAQ

Will there be a port to Fabric / NeoForge / other versions?

Not for now. The mod is made for Forge 1.20.1. If the mod becomes popular and I have the opportunity, I will try to port it to other loaders and versions.

Can I use this mod in my modpack?

Yes, you can freely use this mod in any modpack. The only thing – if you have modded animals in your pack, you will need to add them manually to the config (enabledMobs), otherwise they will not receive genders.

Compatibility

Mod Loaders

Forge

Game Versions

1.20.1

Screenshots

Similar Mods

External Resources