Repository navigation
Controls
GitHub Action edited this page Oct 13, 2026
·
2 revisions
Petting registers custom key bindings under the Petting controls category, along with context-sensitive controls while riding pets.
All keybindings can be customized in the Minecraft controls menu:
Options... ➔ Controls... ➔ Key Binds ➔ scroll down to Petting.
| Key Binding | Default Key | Translation Key | Description |
|---|---|---|---|
| Open Pet Inventory | Shift + Right Mouse |
key.petting.open_pet_inventory |
Opens the pet equipment and tactical GUI for the targeted owned pet (or current mount). |
| Sit / Stand Pet | Right Mouse |
key.petting.toggle_pet_sit |
Commands the targeted owned pet to toggle between sitting and following. |
| Ride / Dismount Pet | R |
key.petting.ride_pet |
Mounts the targeted owned pet within range, or dismounts from your current pet mount. |
The Sit / Stand Pet action is bound to Right Click by default, but Petting incorporates intelligent context detection:
If you are holding an item interaction for that pet, the sit/stand command is suppressed so the item functions normally:
- Holding a Collar when the pet has no collar
$\rightarrow$ Equips the collar. - Holding a Dye matching a different color than the equipped collar
$\rightarrow$ Recolors the collar. - Holding a valid Golden Treat when the pet is injured
$\rightarrow$ Heals the pet. - Holding a Golden Star when targeting a dragon
$\rightarrow$ Heals the dragon. - Holding a Saddle when the pet has no saddle
$\rightarrow$ Equips the saddle. - Holding a Name Tag, Lead, or Shears
$\rightarrow$ Performs the standard vanilla action.
When actively riding a pet, the following controls apply:
| Action | Key | Details |
|---|---|---|
| Steer & Move | W, A, S, D |
Directional walking control. |
| Jump | Space |
Standard jump (jump height 0.50). |
| Sprint | Sprint (Ctrl) |
Applies a 1.35x speed multiplier. |
| Dismount | Sneak (Shift) or R |
Immediately dismounts. |
| Attack | Left Click |
Triggers ridden melee or projectile attack. |
| Action | Key | Details |
|---|---|---|
| Steer & Move | W, A, S, D |
Horizontal aerial movement. |
| Ascend | Space (Jump) |
Fly upward (speed controlled by flyingPetAscentSpeed). |
| Descend / Land | Sneak (Shift) |
Fly downward (speed controlled by flyingPetDescentSpeed). |
| Dismount | Sneak on ground or R |
Dismounts when touching the floor or pressing R in flight. |
| Signature Attack | Left Click |
Fires Fireballs, Wither Skulls, Arrows, or bites. |
| Action | Key | Details |
|---|---|---|
| Steer & Swim | W, A, S, D |
Horizontal aquatic movement. |
| Rise | Space (Jump) |
Ascends toward the water surface. |
| Dive | Sneak (Shift) |
Submerges toward the sea floor. |
| Dismount | Sneak on sea floor or R |
Dismounts when grounded on the ocean floor or pressing R. |
| Attack | Left Click |
Triggers aquatic attack. |
Related Pages: Riding · Pet Inventory · Configuration
Home · Configuration · FAQ · Report an issue · Source code