you can call it in the constructor of your block, it returns itself.
do you know java?
I ask because you could also just create a variable with Block.Properties#create , then run all methods on it and then insert the variable in the constructor. This is basic java, you should know this before you start modding!