UltimateTimber/src/main/java/com/songoda/ultimatetimber/tree/ITreeBlock.java

29 lines
536 B
Java

package com.songoda.ultimatetimber.tree;
import org.bukkit.Location;
public interface ITreeBlock<BlockType> {
/**
* Gets the block this TreeBlock represents
*
* @return The Block for this TreeBlock
*/
BlockType getBlock();
/**
* Gets the location of this TreeBlock
*
* @return The Location of this TreeBlock
*/
Location getLocation();
/**
* Gets what type of TreeBlock this is
*
* @return The TreeBlockType
*/
TreeBlockType getTreeBlockType();
}