Allow BlockEntities to determine if they are valid with a BlockState
*/
package org.spongepowered.api.block.entity;
-import org.spongepowered.api.block.BlockType;
+import org.spongepowered.api.block.BlockState;
import org.spongepowered.api.registry.DefaultedRegistryValue;
import org.spongepowered.api.util.annotation.CatalogedBy;
* @param block The block to test
* @return True if valid, false if not
*/
- boolean isValidBlock(BlockType block);
+ boolean isValidBlock(BlockState block);
}
