Commits

md_5 authored 9bd34e7b7a0
SPIGOT-2911: Implement AbstractHorseInventory
No tags

src/main/java/org/bukkit/entity/AbstractHorse.java

Modified
1 1 package org.bukkit.entity;
2 2
3 +import org.bukkit.inventory.AbstractHorseInventory;
3 4 import org.bukkit.inventory.InventoryHolder;
4 5
5 6 /**
6 7 * Represents a Horse-like creature.
7 8 */
8 9 public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameable {
9 10
10 11 /**
11 12 * Gets the horse's variant.
12 13 * <p>
89 90 * Sets the jump strength of this horse.
90 91 * <p>
91 92 * A higher jump strength increases how high a jump will go.
92 93 * Setting a jump strength to 0 will result in no jump.
93 94 * You cannot set a jump strength to a value below 0 or
94 95 * above 2.
95 96 *
96 97 * @param strength jump strength for this horse
97 98 */
98 99 public void setJumpStrength(double strength);
100 +
101 + @Override
102 + public AbstractHorseInventory getInventory();
99 103 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut