@@ -0,0 +1,7 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Directional;
|
||||
import org.bukkit.block.data.Waterlogged;
|
||||
|
||||
public interface DecoratedPot extends Directional, Waterlogged {
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Directional;
|
||||
|
||||
/**
|
||||
* 'flower_amount' represents the number of petals.
|
||||
*/
|
||||
public interface PinkPetals extends Directional {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'flower_amount' property.
|
||||
*
|
||||
* @return the 'flower_amount' value
|
||||
*/
|
||||
int getFlowerAmount();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'flower_amount' property.
|
||||
*
|
||||
* @param flower_amount the new 'flower_amount' value
|
||||
*/
|
||||
void setFlowerAmount(int flower_amount);
|
||||
|
||||
/**
|
||||
* Gets the maximum allowed value of the 'flower_amount' property.
|
||||
*
|
||||
* @return the maximum 'flower_amount' value
|
||||
*/
|
||||
int getMaximumFlowerAmount();
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
/**
|
||||
* 'dusted' represents how far uncovered by brush the block is.
|
||||
*/
|
||||
public interface SuspiciousSand extends BlockData {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'dusted' property.
|
||||
*
|
||||
* @return the 'dusted' value
|
||||
*/
|
||||
int getDusted();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'dusted' property.
|
||||
*
|
||||
* @param dusted the new 'dusted' value
|
||||
*/
|
||||
void setDusted(int dusted);
|
||||
|
||||
/**
|
||||
* Gets the maximum allowed value of the 'dusted' property.
|
||||
*
|
||||
* @return the maximum 'dusted' value
|
||||
*/
|
||||
int getMaximumDusted();
|
||||
}
|
||||
Reference in New Issue
Block a user