Provide feedback related to crafting, combat, enchanting, and general gameplay. Do not post bugs, support issues, or lists of random ideas. Please search!

3

Home Mechanic for tamed pets (wolves, cats, parrots)

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Nice idea! Here’s my suggestion how those 3 states would work and be expressed:

    wander/follow state: The pet establishes home at bed the player set as respawn point/slept in and would keep that bed as home point. To set/change the home point the pet must be in wander/follow state (and the bed must be in his range of 40 blocks). The pet would wander around his home point as you described. When the player walks off that 32 block radius, the pet would follow the player. And of course, if the player walks in that 32 blocks radius while the pet is following him, the pet starts to wander around.

    sit state: To prevent the pet to follow the player, you would left click it to sit. So the pet basically waits for the player to return home.

    -> that means, if the player lets the pet back home to go on an adventure and sets a new respawn point on journey (at least 40 blocks away from home bed), the pet doesn’t change his home point. If the player sets a new respawn point within the 40 blocks radius while the pet is sitting, the pet establishes the new bed as home point as soon as he’s switched to wander/follow state giving the feeling he need to “discover” the new home. 

    So actually there would only be 2 states: the wander/follow state and the sit state which the player switches with left click.

    everything in short and less complicated:

    - the pet establishes his home point at the players respawn point (bed) when it’s set within his range of 40 blocks.

    - 2 states:

    follow/wander state 
    (when the player is near the pet’s home point (distance  ≤ 32 blocks), the pet wanders around it. When the player is far from the pet’s home point (distance > 32 blocks), the pet follows the player)

    sit state

    this turned out quite long sorry… hope you like my suggestion :)