blob: 24780af641ea5709415457ef382646962ac95b94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.bukkit.entity;
/**
* Represents Horse-like creatures which can carry an inventory.
*/
public interface ChestedHorse extends AbstractHorse {
/**
* Gets whether the horse has a chest equipped.
*
* @return true if the horse has chest storage
*/
public boolean isCarryingChest();
/**
* Sets whether the horse has a chest equipped. Removing a chest will also
* clear the chest's inventory.
*
* @param chest true if the horse should have a chest
*/
public void setCarryingChest(boolean chest);
}
|