Mount Bug

Summary

When using MythicMobsAPI (package - io.lumine.mythic...) to set a passenger of a Mythic Mob, the passenger doesn't appear to be on the Mythic Mob and can walk around freely. However, the passenger cannot break/place blocks, and any interaction (e.g. shooting a bow, throwing a snowball/egg) happens from the top of the Mythic Mob.

Steps to reproduce Step 1. Create a MythicMob like this-

<MYTHICMOB_NAME>: Type: CHICKEN Display: "MYTHICMOB_NAME" Health: 300 Damage: 0 Skills: - model{mid=broom_wood;n=false;ride=false;drive=true;driver=false} @self ~onSpawn - mountmodel{driver=false;drive=true;ride=true} Options: AlwaysShowName: false Collidable: true Silent: true PreventSunBurn: true MovementSpeed: 0

Step 2. Use the command mm mobs spawn <MYTHICMOB_NAME> to spawn the ridable mob.

Step 3. Use this Java code to mount the MythicMob and register it in your main class

@EventHandler
    public void onPlayerInteract(PlayerInteractEntityEvent event) {
        Entity clickedEntity = event.getRightClicked();
        Player player = event.getPlayer();

        // Check if the clicked entity is a chicken
        if (clickedEntity.getType() == EntityType.CHICKEN) {
            // Cancel the default behavior of right-clicking the entity
            event.setCancelled(true);

            // Mount
            clickedEntity.addPassenger(player);
        }
    }

Step 4. Join your server and right click a chicken

Current behavior

The passenger appears to not ride the Mythic mob, but interactions happen from the position of the Mythic Mob

Intended correct behavior

The passenger should appear on the top of the Mythic Mob

Server log file

https://pastebin.com/fX9pHZyz