get

operator fun <T : Any> get(property: BlockStateProperty<T>): T?

Gets the value of the given property or null if the property is not set.