How to spawn a saddle horse?

Hello,

how can i spawn a tamed horse with saddle?

Horse horse = (Horse) p.getWorld().createEntity(EntityTypes.HORSE,p.getLocation().getPosition()).get(); horse.variant().set(HorseVariants.HORSE); horse.offer(Keys.DISPLAY_NAME,colored("&a&lHorse")); Optional<UUID> uid = Optional.of(p.getUniqueId()); horse.offer(Keys.TAMED_OWNER,uid); horse.setPassenger(p); p.getWorld().spawnEntity(horse, Cause.of(p));

thanks

The saddle is actually part of Inventory API which hasn’t been written for horses yet.