diff --git a/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java b/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java index 2bbf1d074b..0d88dce997 100644 --- a/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java +++ b/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java @@ -102,6 +102,20 @@ public interface AbstractHorse extends Vehicle, InventoryHolder, Tameable { */ public void setJumpStrength(double strength); + /** + * Gets whether the horse is currently grazing hay. + * + * @return true if eating hay + */ + boolean isEatingHaystack(); + + /** + * Sets whether the horse is grazing hay. + * + * @param eatingHaystack new hay grazing status + */ + void setEatingHaystack(boolean eatingHaystack); + @NotNull @Override public AbstractHorseInventory getInventory();