
ModsJava
Petting
Java mod listed for Minecraft 1.7–1.18. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
A simple lightweight plugin to allow players to heal their pets by petting them. The config is customizable and you can change everything about the plugin.
Shift right-click your pet with an empty hand, you will pet it. Petting entities will heal them slowly. You can configure this to work on any entity in the game.
Spoiler: Config
Code (YAML):
config-version
: 1
settings:
shift : true # Does the player need to hold shift.
tamed : true # If the entity can be tamed, does it have to be for the player to pet it.
owner : false # If only the owner can pet an entity.
hand : true # Does the player need to use his hand to pet.
volume : 0.3 # Volume of sound effects.
pitch : 1.3 # Pitch of sound effects.
event-cancel : true # If the player is petting an entity should other actions be canceled.
heal-amount : 1 # 0.5 is half a heart, 1 is 1 heart.
cooldown : 0.5 # Delay in seconds for how often someone can pet something.
# You may need to adjust these if you are on older versions
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sound:
WOLF : ENTITY_WOLF_AMBIENT
CAT : ENTITY_CAT_PURR
PARROT : ENTITY_PARROT_AMBIENT
FOX : ENTITY_FOX_AMBIENT
HORSE : ENTITY_HORSE_AMBIENT
ZOMBIE_HORSE : ENTITY_ZOMBIE_HORSE_AMBIENT
SKELETON_HORSE : ENTITY_SKELETON_HORSE_AMBIENT
DONKEY : ENTITY_DONKEY_AMBIENT
MULE : ENTITY_MULE_AMBIENT
LLAMA : ENTITY_LLAMA_AMBIENT
settings:
shift : true # Does the player need to hold shift.
tamed : true # If the entity can be tamed, does it have to be for the player to pet it.
owner : false # If only the owner can pet an entity.
hand : true # Does the player need to use his hand to pet.
volume : 0.3 # Volume of sound effects.
pitch : 1.3 # Pitch of sound effects.
event-cancel : true # If the player is petting an entity should other actions be canceled.
heal-amount : 1 # 0.5 is half a heart, 1 is 1 heart.
cooldown : 0.5 # Delay in seconds for how often someone can pet something.
# You may need to adjust these if you are on older versions
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sound:
WOLF : ENTITY_WOLF_AMBIENT
CAT : ENTITY_CAT_PURR
PARROT : ENTITY_PARROT_AMBIENT
FOX : ENTITY_FOX_AMBIENT
HORSE : ENTITY_HORSE_AMBIENT
ZOMBIE_HORSE : ENTITY_ZOMBIE_HORSE_AMBIENT
SKELETON_HORSE : ENTITY_SKELETON_HORSE_AMBIENT
DONKEY : ENTITY_DONKEY_AMBIENT
MULE : ENTITY_MULE_AMBIENT
LLAMA : ENTITY_LLAMA_AMBIENT
Commands:
/petting - Plugin info
/petting reload - Reload plugin
Permissions:
petting.use (Default)
petting.reload (OP)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Petting is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 4,745 times (via Spigot). Download it and open it directly in the game.
![[IMG]](http://proxy.spigotmc.org/a36e7acc482e56c984291785075e5ee442f3997e?url=https%3A%2F%2Fi.imgur.com%2FzjeZZ5x.png)
![[IMG]](http://proxy.spigotmc.org/3f724a6e1f84d510ea33cf592ca7afef52ca3453?url=https%3A%2F%2Fi.imgur.com%2FuPozfGs.png)