2825ece820
while some of these may of been true, they are extreme cases and cause a ton of noise to plugin developers. Use ApiStatus.Internal instead of Deprecated for actual internal API that continues to have use (internally). These do not help plugin developers if they bring moise noise than value.
20 lines
429 B
Java
20 lines
429 B
Java
package org.bukkit.material;
|
|
|
|
@Deprecated(forRemoval = true, since = "1.13")
|
|
public interface Openable {
|
|
|
|
/**
|
|
* Check to see if the door is open.
|
|
*
|
|
* @return true if the door has swung counterclockwise around its hinge.
|
|
*/
|
|
boolean isOpen();
|
|
|
|
/**
|
|
* Configure this door to be either open or closed;
|
|
*
|
|
* @param isOpen True to open the door.
|
|
*/
|
|
void setOpen(boolean isOpen);
|
|
}
|