SPIGOT-5886: Missing BlockData

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2020-06-30 09:58:47 +10:00
parent c689413d27
commit b308f3d92e
2 changed files with 18 additions and 1 deletions

View File

@ -1,12 +1,13 @@
package org.bukkit.block.data.type;
import org.bukkit.block.data.Directional;
import org.bukkit.block.data.Powerable;
import org.jetbrains.annotations.NotNull;
/**
* 'attachment' denotes how the bell is attached to its block.
*/
public interface Bell extends Directional {
public interface Bell extends Directional, Powerable {
/**
* Gets the value of the 'attachment' property.

View File

@ -7,9 +7,25 @@ import org.jetbrains.annotations.NotNull;
/**
* This class encompasses the 'north', 'east', 'south', 'west', height flags
* which are used to set the height of a wall.
*
* 'up' denotes whether the well has a center post.
*/
public interface Wall extends Waterlogged {
/**
* Gets the value of the 'up' property.
*
* @return the 'up' value
*/
boolean isUp();
/**
* Sets the value of the 'up' property.
*
* @param up the new 'up' value
*/
void setUp(boolean up);
/**
* Gets the height of the specified face.
*