Files
DeltaZern/paper-api/src/main/java/org/bukkit/material/Openable.java
T
Aikar 2825ece820 Fix Spigot annotation mistakes
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.
2019-03-24 18:39:01 -04:00

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);
}