diff --git a/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java b/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java index c54d094b..c059978d 100644 --- a/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java +++ b/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java @@ -2158,6 +2158,22 @@ public enum CompatibleMaterial { return false; } + /** + * @return true if this material is two blocks tall + */ + public boolean isTall() { + switch (this) { + case SUNFLOWER: + case LILAC: + case LARGE_FERN: + case ROSE_BUSH: + case PEONY: + case TALL_GRASS: + return true; + } + return false; + } + /** * @return true if this is a block that has a growth state */