23
paper-api/src/main/java/org/bukkit/block/data/type/TNT.java
Normal file
23
paper-api/src/main/java/org/bukkit/block/data/type/TNT.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
/**
|
||||
* 'unstable' indicates whether this TNT will explode on punching.
|
||||
*/
|
||||
public interface TNT extends BlockData {
|
||||
|
||||
/**
|
||||
* Gets the value of the 'unstable' property.
|
||||
*
|
||||
* @return the 'unstable' value
|
||||
*/
|
||||
boolean isUnstable();
|
||||
|
||||
/**
|
||||
* Sets the value of the 'unstable' property.
|
||||
*
|
||||
* @param unstable the new 'unstable' value
|
||||
*/
|
||||
void setUnstable(boolean unstable);
|
||||
}
|
||||
Reference in New Issue
Block a user