Petting 1.2

Pet your cats, dogs, horses and more! Pet any mob in the game! Customizable! Open Source!

  1. Ranull
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://gitlab.com/ranull/minecraft/petting
    [​IMG]

    A simple lightweight plugin to allow players to pet their animals! The config is very customizable and you can add sound effects for any mob in the game.

    Code (YAML):
    configVersion: 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.
      cancelEvent
    : true # If the player is petting an entity should other actions be canceled.
      healAmount
    : 1 # 0.5 is half a heart, 1 is 1 heart.
      petDelay
    : 0.5 # Delay in seconds for how often someone can pet something.
      entities
    : # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
        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

    Usage:
    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!

    Commands:
    /petting - Plugin info
    /petting reload - Reload plugin

    Permissions:

    petting.use (Default)
    petting.reload (OP)
    Carl0Jonshon likes this.

Recent Updates

  1. Added 1.16 Support
  2. Petting Animation, Pet Delay and Healing

Recent Reviews

  1. lokka30
    lokka30
    5/5,
    Version: 1.1
    Great idea and works very well
    Great customisation in the config
    ......................
    1. Ranull
      Author's Response
      Thanks for the review!
  2. oakina
    oakina
    5/5,
    Version: 1.1
    Seems like this could be a very promising plugin, I really like the idea - very straightforward. Thank you!
    1. Ranull
      Author's Response
      Thanks for the review! :)
  3. Carl0Jonshon
    Carl0Jonshon
    5/5,
    Version: 1.1
    The author of the mod I have 2 ideas to complement the plugin! When the mob is sitting in the boat, then when using the teleport it will remain there 2. Hand mobs disappear when the teleport can somehow be fixed?
    1. Ranull
      Author's Response
      Thanks for the review! Can you explain your problem in more detail in the discussion? I do not fully understand.
  4. XionioX
    XionioX
    5/5,
    Version: 1.1
    Add mob teleport for players and the plugin will be incredible
    ю
    1. Ranull
      Author's Response
      Thanks for the review! I will look into your request.