25
paper-api/src/main/java/org/bukkit/block/Beehive.java
Normal file
25
paper-api/src/main/java/org/bukkit/block/Beehive.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a bee hive.
|
||||
*/
|
||||
public interface Beehive extends TileState {
|
||||
|
||||
/**
|
||||
* Get the hive's flower location.
|
||||
*
|
||||
* @return flower location or null
|
||||
*/
|
||||
@Nullable
|
||||
Location getFlower();
|
||||
|
||||
/**
|
||||
* Set the hive's flower location.
|
||||
*
|
||||
* @param location or null
|
||||
*/
|
||||
void setFlower(@Nullable Location location);
|
||||
}
|
||||
Reference in New Issue
Block a user