Registering the Block/Entity
Once you have created your entity class, you then need to register it.
This differs depending on the modloader you are using.
Links
Select your loader below for a link to that loader's documentation for registering BlockEntities.
Block
BlockEntity