All Mods Resource Packs Data Packs Shaders Modpacks Plugins
PettableMobs

PettableMobs

by Mouldytoast • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

PETTABLEMOBS

Not being able to pet your mobs in game truly sucks soo try PettableMobs now!!

FEATURES:

  • Use P key to pet your mobs (the key is configurable through ingame keybinds)

  • Mob Taming System - Pet untamed animals 4 times consecutively to tame them

  • Healing - Each pet heals the mob by 1 heart (2 HP)

  • XP Reward - Gain minimal XP (1 point) for petting mobs (non-farmable)

  • Visual Feedback - Heart particles spawn around petted mobs

  • Audio Feedback - XP pickup sound plays when petting

  • Mob Freezing - Mobs freeze for 10 ticks while being petted

  • 1 Second Cooldown - 1 second cooldown between consecutive pets (prevents spamming)

  • Non-Spammable Key - P key must be released and pressed again (no holding)

MECHANICS

  • Distance Check - Must be within 3 blocks of the mob

  • Line of Sight - Must be looking at the mob (dot product check)

  • Mob Types Supported - All passive animals and tameable mobs (cows, sheep, wolves, cats, etc.)

  • Taming Progress - Extra hearts spawn when taming is complete

  • Per-Player Tracking - Each player can tame their own mobs independently

FEEDBACK:

If you wish to provide any feedback related to bugs or any improvements you wish to see in future updates then feel free to mail to me mouldytoasty@gmail.com.

How to Install PettableMobs (Mod)

PettableMobs by Mouldytoast is verified for Fabric across Minecraft versions 1.21.11, 26.2, 26.3 (latest release: 1.0.0+26.3, file size: 21 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.11, 26.2, 26.3) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded PettableMobs file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
3mo ago 1
1.21.11
Fabric
10mo ago 1
Mobpetting Changelog
Version 1.0.0 - Initial Release
Features
Pet Mobs - Press P to pet passive/tameable mobs with line-of-sight detection

Mob Taming System - Pet untamed animals 4 times consecutively to tame them

Healing - Each pet heals the mob by 1 heart (2 HP)

XP Reward - Gain minimal XP (1 point) for petting mobs (non-farmable)

Visual Feedback - Heart particles spawn around petted mobs

Audio Feedback - XP pickup sound plays when petting

Mob Freezing - Mobs freeze for 10 ticks while being petted

1 Second Cooldown - 1 second cooldown between consecutive pets (prevents spamming)

Non-Spammable Key - P key must be released and pressed again (no holding)

Mechanics
Distance Check - Must be within 3 blocks of the mob

Line of Sight - Must be looking at the mob (dot product check)

Mob Types Supported - All passive animals and tameable mobs (cows, sheep, wolves, cats, etc.)

Taming Progress - Extra hearts spawn when taming is complete

Per-Player Tracking - Each player can tame their own mobs independently

Technical Details
Built with Fabric Modloader

Single-file architecture with embedded styles

Server-side cooldown enforcement

Client-side key validation

Networking via Fabric API PayloadType

Code Structure
PettingHandler.java - Server-side pet logic and taming system

MobpettingClient.java - Client-side key binding and packet sending

Mobpetting.java - Main mod class with configuration constants

PetMobPayload.java - Network payload for client-server communication

Configuration
PET_COOLDOWN_TICKS = 20 (1 second between pets)

PETS_TO_TAME = 4 (4 consecutive pets to tame)

Known Limitations
Only works on passive/tameable mobs (not hostile mobs)

Taming counter resets if you don't pet consecutively

XP reward is minimal to prevent farming exploits

Future Improvements
Custom mob sounds per species

Taming progress
PettableMobs Icon
Download PettableMobs
Select game version
Select platform