IAbstractMountInventoryScreen
com.jsmacrosce.jsmacros.client.access.IAbstractMountInventoryScreen
Mixin-backed access to the mount entity stored by supported mount inventory screens; this is not a constructible screen type or a wrapper around the entity.
js
if (Player.getPlayer()) {
const screen = Player.openInventory().getRawContainer();
if (screen) {
if (typeof screen.jsmacros_getEntity === "function") {
Chat.log(screen.jsmacros_getEntity());
}
}
}