Register the entity with Minecraft.