Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
36
paper-api/src/main/java/org/bukkit/block/Furnace.java
Normal file
36
paper-api/src/main/java/org/bukkit/block/Furnace.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a furnace.
|
||||
*
|
||||
* @author sk89q
|
||||
*/
|
||||
public interface Furnace extends BlockState, ContainerBlock {
|
||||
/**
|
||||
* Get burn time.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public short getBurnTime();
|
||||
|
||||
/**
|
||||
* Set burn time.
|
||||
*
|
||||
* @param burnTime
|
||||
*/
|
||||
public void setBurnTime(short burnTime);
|
||||
|
||||
/**
|
||||
* Get cook time.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public short getCookTime();
|
||||
|
||||
/**
|
||||
* Set cook time.
|
||||
*
|
||||
* @param cookTime
|
||||
*/
|
||||
public void setCookTime(short cookTime);
|
||||
}
|
||||
Reference in New Issue
Block a user