geforkt von Mirrors/Paper
Add isEnabled / setEnabled for HopperMinecart
By: Matthew <stteg@hotmail.com>
Dieser Commit ist enthalten in:
Ursprung
672cae688f
Commit
032db7ea4f
@ -7,4 +7,19 @@ import org.bukkit.inventory.InventoryHolder;
|
|||||||
* Represents a Minecart with a Hopper inside it
|
* Represents a Minecart with a Hopper inside it
|
||||||
*/
|
*/
|
||||||
public interface HopperMinecart extends Minecart, InventoryHolder {
|
public interface HopperMinecart extends Minecart, InventoryHolder {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks whether or not this Minecart will pick up
|
||||||
|
* items into its inventory.
|
||||||
|
*
|
||||||
|
* @return true if the Minecart will pick up items
|
||||||
|
*/
|
||||||
|
boolean isEnabled();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets whether this Minecart will pick up items.
|
||||||
|
*
|
||||||
|
* @param enabled new enabled state
|
||||||
|
*/
|
||||||
|
void setEnabled(boolean enabled);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren