Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
BefriendMobs Framework

BefriendMobs Framework

A library for creating friendly mobs from any exisiting mobs.

4,393
7
Adventure
Library
Mobs

Compatibility

Minecraft: Java Edition

1.20.1
1.19.2
1.18.2

Platforms

Forge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source

Creators

SodiumZH
SodiumZH Owner

Details

Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 2 years ago
DescriptionChangelogVersions

Show all versions

BefriendMobs Framework 0.2.18

by SodiumZH on Nov 11, 2023
Download

BefriendMobs Framework 0.0.18

by SodiumZH on Nov 11, 2023
Download

BefriendMobs Framework 0.1.18

by SodiumZH on Nov 11, 2023
Download
BefriendMobs

Added Mixin. Now adding BefriendMobs API as dependency requires to add Mixin in build.gradle. For details see build.gradle in mod Days with Monster Girls.

Added HealingItemTable to handle healing. It accepts 4 methods to check if can use: item, tag, item stack predicate and item registry key. Generally it accepts only one of them. Adding multiple methods is allowed but not recommended.

Changed IBefriendedMob#getHealingItems to HealingItemTable. Deprecated IBefriendedMob#getNonconsumingHealingItems.

Changed CHealingHandler to adapt HealingItemTable. Now ``CHealingHandler#applyHealingItemaccepts cooldown ticks input. DeprecatedCHealingHandler#getHealingCooldownTicks`.

NaUtils

Added Mixin. Now adding BefriendMobs API as dependency requires Mixin in build.gradle. For details see build.gradle in mod Days with Monster Girls.

Added ItemEntityHurtEvent and NonLivingEntityHurtEvent, allowing to cancel damages to non-living entities.

Added ConditionalAttributeModifier as an auto-updating AttributeModifier added and removed depending on a Predicate as condition.

AddedObjectOrSupplier as a supplier either from a static object or a functional Supplier.

Added ObjectOrKey as a supplier either from a static object or a key of registry.

Added ItemOrKey and EntityTypeOrKey as wrappers for ObjectOrKey of Item and EntityType .

Added DynamicObjectKeyMap as a mapping from registered objects to something. It has ObjectOrKey as keys and ObjectOrSupplier as values, allowing to dynamically find objects from registries and get volatile values (e.g. max health) from static map objects.

Added DynamicItemKeyMap and DynamicEntityTypeKeyMap as wrappers of DynamicObjectKeyMap of Item and EntityType.

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.