@Override
    public void animateTick(BlockState state, Level world, BlockPos pos, RandomSource random) {
        if (state.getValue(LIT)) {
            spawnParticles(world, pos);
        }
    }
All methods lifted straight from RedstoneOreBlock
exploration/src/main/java/mrtjp/projectred/exploration/block/ElectrotineOreBlock.java