mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
SPIGOT-5886: Missing BlockData
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c689413d27
commit
b308f3d92e
@ -1,12 +1,13 @@
|
|||||||
package org.bukkit.block.data.type;
|
package org.bukkit.block.data.type;
|
||||||
|
|
||||||
import org.bukkit.block.data.Directional;
|
import org.bukkit.block.data.Directional;
|
||||||
|
import org.bukkit.block.data.Powerable;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 'attachment' denotes how the bell is attached to its block.
|
* '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.
|
* Gets the value of the 'attachment' property.
|
||||||
|
@ -7,9 +7,25 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
/**
|
/**
|
||||||
* This class encompasses the 'north', 'east', 'south', 'west', height flags
|
* This class encompasses the 'north', 'east', 'south', 'west', height flags
|
||||||
* which are used to set the height of a wall.
|
* which are used to set the height of a wall.
|
||||||
|
*
|
||||||
|
* 'up' denotes whether the well has a center post.
|
||||||
*/
|
*/
|
||||||
public interface Wall extends Waterlogged {
|
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.
|
* Gets the height of the specified face.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user