Translation
This mod becomes translatable now.
Official supports for en_us
and zh_tw
.
Easier way to config
Now players can put/drop an animal into/from the list by ALT(default)+right click the baby animal with food.
You can also set a key to temporarily feed babies (if the server side allows), or toggle the white/blacklist mode by a key.
Commands for server side
This mod is designed for client uses. However I still make this mod server-side usable.
To make it easier to server ops, I write commands.
Note: Outputs of commands are not translatable, and I have no plan to improve this.
List Mode
/nofeedingbaby mode [blacklist/whitelist/toggle]
Animal
/nofeedingbaby animal [add/remove/toggle/status] id
Configurable
Now this mod is configurable.
The config file is "no-feeding-baby.yml"
and there are 2 keys: whitelistMode
and list
.
whitelistMode
(Bool) is to say whether the following "list" is whitelist or not. If no, then the list is blacklist.list
(List[str]) specifies all the animals in ID (e.g.,minecraft:cow
) in the white/blacklist. Baby animals in the whitelist can be fed, and cannot if they are in the blacklist.
Client- and Server-side Supports
The mod is designed for client uses, but it also works in the server side, too.
Baby animals get fed only if both two sides allow:
Client→ ↓Server |
Not Installed | Allow | Disallow |
---|---|---|---|
Not Installed | ✔️ | ✔️ | ❌ |
Allow | ✔️ | ✔️ | ❌ |
Disallow | ❌* | ❌* | ❌ |
* If the feeding is disabled by server-side only, the player will see a falsy feeding, which in fact doesn't consume any food.